User Tools

Site Tools


os:archlinux:keyring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
os:archlinux:keyring [2021/12/29 21:09] – ↷ Page moved from howto:arch:keyring to os:archlinux:keyring warnaudos:archlinux:keyring [2022/05/11 10:04] (current) warnaud
Line 1: Line 1:
 +   - Reset everything: if you have this kind of message: <code bash>error: key "A6234074498E9CEE" could not be looked up remotely</code> here's the Hiroshima™®© solution <code bash># 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</code> Reference: [[https://bbs.archlinux.org/viewtopic.php?id=193382]]
 +  - Reset a key: example repo-ck  (as root)<code bash>pacman-key -r 5EE46C4C && pacman-key --lsign-key 5EE46C4C</code>
  
 +====== Garuda ======
 +-> Garuda Assistant > Refresh Keyring
 +
 +====== Archlinux ======
 +<code bash>
 +sudo pacman -Sy archlinux-keyring
 +sudo pacman-key --populate archlinux
 +sudo pacman-key --refresh-keys
 +sudo pacman -Syu
 +</code>
 +or
 +<code bash>
 +killall gpg-agent
 +rm -rf /etc/pacman.d/gnupg
 +pacman-key --init
 +pacman-key --populate archlinux
 +</code>