Update fails with "keyring is not writable"

Yes, you should ALWAYS check the announcement thread. A new thread is created with each big update. Right now it is this: [Stable Update] 2023-12-23 - Kernels, Grub, Mate, Deepin, Cinnamon, ICU, KDE Frameworks
You can check the second post in the thread that contains " Known issues and solutions"

:+1:

Yes, you clearly have pacdiffs since LONG, community repository was removed a long time ago.

pacdiff -o will list the files. (it should return nothing when you are done)
The link will tell you what you have to do with them.

Good. Revert to that, handle the pacdiffs and THEN retry the update, maybe it will fix stuff.

Edit
Bumped into this thread, and this response: Keyring error while installing wine - #5 by Yochanan

Remove the directory completely:

sudo rm -r /etc/pacman.d/gnupg/
sudo pacman-key --init
sudo pacman-key --populate archlinux manjaro
sudo pacman -Sc  # may or may not be necessary
sudo pacman -Syyu
2 Likes