User Tools

Site Tools


os:archlinux:keyring
  1. Reset everything: if you have this kind of message:
    error: key "A6234074498E9CEE" could not be looked up remotely

    here's the Hiroshima™®© solution

    # rm -R /etc/pacman.d/gnupg/
    # rm -R /root/.gnupg/  # only if the directory exists
    # gpg --refresh-keys
    # pacman-key --init && pacman-key --populate
    # pacman-key --refresh-keys

    Reference: https://bbs.archlinux.org/viewtopic.php?id=193382

  2. Reset a key: example repo-ck (as root)
    pacman-key -r 5EE46C4C && pacman-key --lsign-key 5EE46C4C

Garuda

→ Garuda Assistant > Refresh Keyring

Archlinux

sudo pacman -Sy archlinux-keyring
sudo pacman-key --populate archlinux
sudo pacman-key --refresh-keys
sudo pacman -Syu

or

killall gpg-agent
rm -rf /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux
os/archlinux/keyring.txt · Last modified: 2022/05/11 10:04 by warnaud