labnotes

Upgrading emacs on debian

fixing crashes

tags
emacs
debian

Been playing with elfeed on Emacs 26.1 on buster and it keeps crashing. I think for font related reasons. So lets follow the Emacs Wiki Instructions to upgrade to emacs-snapshots and see if that helps.

Add the snap shot repository.

Make sure you have the tools installed so that apt can do it's internet thing.

1
2
sudo apt-get install software-properties-common
sudo apt-get update

Add the signing key:

1
wget -q http://emacs.ganneff.de/apt.key -O- | sudo apt-key add

And add the packages to your local index. Note that I'm specifically using buster here so update that if you need do.

1
2
sudo add-apt-repository "deb http://emacs.ganneff.de/ buster main"
sudo apt-get update

Remove the old emacs

I ran into a bunch of problems with the old emacs being installed at the same time, and it borked dpkg for a bit. So first lets remove everything:

1
sudo apt remove emacs-bin-common emacs-gtk

Add the new one

Pretty straightforward here.

1
2
sudo apt-get install emacs-snapshot 
sudo update-alternatives --config emacsclient

Fix that icon

The snapshot build has a svg icon, which the Chromebook doesn't seem to like. So lets fix that up.

1
2
mkdir -p ~/.local/share/applications/
cp /usr/share/application/emacs-snapshot.desktop ~/.local/share/applications

And then edit ~/.local/share/applications/emacs-snapshot.desktop to put the Icon to the final image place, in my case

Icon=emacs

It took a while for the changes to take but after a reboot it works great.

Start it up

Crositini will eventually update the shelf but it will take a little time.

So far, no issues and no crashes!

Previously

howto

Checking health of RSS feeds

Lets clean out the old stuff

tags
ruby
rss

Next

articles

Effigy, a distributed social data layer

Scuttlebutt is awesome, let’s run with it

tags
p2p
design
serverless
websockets
webrtc
effigy