Fix Package Signing Key Issue in Arch Linux

article #517, updated 1076 days ago

If you get that error in Arch Linux, pacman, saying that a package key is not verifiable, do this:

pacman -Sy archlinux-keyring

If it asks you to update pacman first, say no, then let it fail. Then, as root, saying Yes to every prompt:

cd /var/cache/pacman/pkg
pacman -U archlinux-keyring*
pacman-key --refresh-keys
pacman-key --populate archlinux

If you get a keyserver timeout, edit /etc/pacman.d/gnupg/gpg.conf and change the keyserver line to:

keyserver hkp://

Then update pacman:

pacman -Sy pacman

and resume what you were doing!

Categories:   Arch Linux