The officially official Devuan Forum!

You are not logged in.

#1 2024-11-06 12:52:50

onekk68
Member
Registered: 2024-11-06
Posts: 10  

[SOLVED] Emacs 29.4 on devuan daedalus

Hello, I want to install emacs 29.4 on devuan daedalus, Synaptics package manager will tell that there is broken dependencies.

I want to install emacs-gtk as I have to use X11 and seems that emacs-pgtk is specifically for Wayland.

Any help will be useful.

I have installed devuan using the netinstall iso and I boot it using grub2 from another distribution, but probably this is not relevant.

here my sources.list

deb http://deb.devuan.org/merged/ daedalus main contrib non-free non-free-firmware 
deb-src http://deb.devuan.org/merged/ daedalus main contrib non-free non-free-firmware 

deb http://deb.devuan.org/merged/ daedalus-security main contrib non-free non-free-firmware 
deb-src http://deb.devuan.org/merged/ daedalus-security main contrib non-free non-free-firmware 

# daedalus-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.devuan.org/merged/ daedalus-updates main contrib non-free non-free-firmware 
deb-src http://deb.devuan.org/merged/ daedalus-updates non-free-firmware non-free contrib main  

# daedalus-backports, previously on backports.debian.org
deb http://deb.devuan.org/merged/ daedalus-backports non-free-firmware non-free contrib main   
deb-src http://deb.devuan.org/merged/ daedalus-backports main contrib non-free non-free-firmware 

# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Offline

#2 2024-11-06 16:35:44

stopAI
Member
Registered: 2023-04-04
Posts: 185  

Re: [SOLVED] Emacs 29.4 on devuan daedalus

Hello.

The latest version of emacs in Devuan Daedalus is 28.2. If you want emacs 29.4 (this version is found in daedalus-backports), you have to manually add the backports package repository.

Backports provides newer versions of packages already in the testing suite but linked to stable dependencies. This is useful if you prefer using newer software versions over well-tested stable versions. It is advised to disable backports and only enable to install specific packages.

In short, just add to your /etc/apt/sources.list

deb     http://deb.devuan.org/merged daedalus-backports main
deb-src http://deb.devuan.org/merged daedalus-backports main

then

apt update
apt install -t daedalus-backports emacs

Good luck.

Offline

#3 2024-11-06 17:02:14

onekk68
Member
Registered: 2024-11-06
Posts: 10  

Re: [SOLVED] Emacs 29.4 on devuan daedalus

Many thanks for the quick answer.

The settings about repositories should already been here, (a part for the main on the right side)

# daedalus-backports, previously on backports.debian.org
deb http://deb.devuan.org/merged/ daedalus-backports non-free-firmware non-free contrib main   
deb-src http://deb.devuan.org/merged/ daedalus-backports main contrib non-free non-free-firmware 

what is lackig probably is the:

-t daedalus-backports

in the install part, and the use of apt.

So many thanks again.

I was "returning" to Devuan after some time on being on "Artix Linux" so probably my preferences could be biased.

I know that in Debian/Devuan the concept of "stable" has been always "peculiar" as it depends on different considerations from those adopted "upstream", like the ability for a package to build on all the different "platform", so I consider emacs 29.4 as "tested enough" as the development version is 30.x now and 29.4 is the stable version of emacs from some time.

more to come if problems will arise, or simply to make the post Solved, asa I can continue my migration effort.

Kind regards

Carlo D.

Offline

#4 2024-11-17 12:41:01

onekk68
Member
Registered: 2024-11-06
Posts: 10  

Re: [SOLVED] Emacs 29.4 on devuan daedalus

I will mark this as SOLVED as tests have revealed that Emacs 29.4 is working flawlessy with Devuan.

Some minor problems, but as my installation is an heavy modified install, with "literate config" based on an org file, some minor problems are not blocking, they are more a stimulus to learn more about Emacs.

Only to say something, it uses:

- eglot and pylsp
- treesitter for python grammar
- plantUML for diagrams
- Latex using a TExlive plain install in /opt/texlive
- and some other highly customize things

So the complexity is high enough.

Kind regards
Carlo D.

Offline

Board footer