I’ve never updated my Emacs packages until recently, because Emacs is where all my writing happens, and so I’m justifiably paranoid.
But then some packages stopped working, due to various circumstances1 and an update solved it.
So I’ve decided to update my packages once a quarter, so that I don’t lose days yak shaving when something goes wrong and I handle breakage on my terms and not the machine’s.
As far as package management goes, I want to keep things simple.
In fact, I still haven’t graduated to use-package
or straight.el
because my package needs are few and conservative2. And so, while there are automatic update options out there, I’ll just stick to updating them manually, every quarter.
Ergo, this is the checklist I’ll use next time onwards …
- Stop emacs user service,
systemctl --user stop emacs
- Backup emacs folder in
~/.config
- Start emacs manually (not the service).
M-x package-refresh-contents
M-x package-upgrade-all
- Problems? Quit emacs. Revert backup folder.
- In the end, start emacs user sevice,
systemctl --user start emacs
There’s an Org mode task, scheduled quarterly, so that I won’t forget.
Feedback on this post?
Mail me at feedback at this domain or continue the discourse here.
P.S. Subscribe to my mailing list!
Forward these posts and letters to your friends and get them to subscribe!
P.P.S. Feed my insatiable reading habit.