Project

General

Profile

Experiencing Problems Updating? Try Resetting The Parabola Keyrings First.

LucidEagle - 29 days ago -

Did you just install Parabola GNU Linux-Libre and you are now experiencing problems updating the operating system? Don't Panic!!!

Try resetting the Parabola Keyrings first ;)

sudo pacman -Scc
sudo pacman -Syy archlinux-keyring archlinux32-keyring archlinuxarm-keyring parabola-keyring
sudo pacman-key --init
sudo pacman-key --populate archlinux archlinux32 archlinuxarm parabola
sudo pacman-key --refresh-keys
sudo pacman -Syu

I also created a simple bash script to automate this entire process if you are interested in using it instead. Either way works just the same.

https://notabug.org/LucidEagle/auto-reset-parabola-keyring


Replies (3)

RE: Experiencing Problems Updating? Try Resetting The Parabola Keyrings First. - sinaptik - 29 days ago -

It's also worth noting that this is also outlined on the Parabola installation guide.

Although it's somewhat different and perhaps worth updating?

https://wiki.parabola.nu/Installation_guide#Verification_of_package_signatures

RE: Experiencing Problems Updating? Try Resetting The Parabola Keyrings First. - LucidEagle - 29 days ago -

It is a little different and probably worth updating. Usually this is the number 1 solution to updating problems I personally experience after a fresh installation of Parabola GNU Linux-Libre.

Just to solve any problems before they can become an issue. This is one of the first things I do right after installing the operating system before I even conduct the first update.

RE: Experiencing Problems Updating? Try Resetting The Parabola Keyrings First. - bill-auger - 29 days ago -

it should be noted that most problems with updates are not related to the keyring at all - the only time this procedure would be needed, is when you get an error about a signature, such as: "(invalid or corrupted package)", "signature from <someone> is unknown trust"

the entire procedure above takes several minutes to complete and is very rarely necessary - thats why those instructions on the install guide are just a subset of the full nuke - in most cases, this single command will suffice:

# pacman-key --refresh-keys

and the fix is much faster if you only refresh the key(s) that actually cause the failure, like so:

error: systemd-libsystemd: signature from "bill-auger <bill-auger@peers.community>" is unknown trust
# pacman-key --refresh-keys bill-auger@peers.community

also, if you have the 'parabola-laf' package installed, which is the default if you used one of the automated installers, you can simply use the command:

$ refresh-keyring

that performs the full nuke in one shot

    (1-3/3)