Project

General

Profile

Experiencing Problems Updating? Try Resetting The Parabola Keyrings First.

LucidEagle - almost 5 years 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 (4)

RE: Experiencing Problems Updating? Try Resetting The Parabola Keyrings First. - Anonymous - almost 5 years 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 - almost 5 years 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 - almost 5 years 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

RE: Experiencing Problems Updating? Try Resetting The Parabola Keyrings First. - oaken-source - almost 3 years ago -

We currently suspect that `pacman-key --refresh-keys` causes issues where previously expired and then extended keys are listed as `unknown trust` despite being valid in the keyring. If these problems happen, they also can be fixed by running `refresh-keyring` from the parabola-laf package.

Regardless, we currently do no longer recommend running `pacman-key --refresh-keys` to deal with expired keys. Instead, run `pacman -Sy parabola-keyring` and open a ticket when this does not solve the problem.

    (1-4/4)