sudo pacman-key --refresh-keys
# 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:
- Arch Linux Sysadmin: Pacman: Fix for ‘invalid or corrupted package (PGP signature)’
- [SOLVED] error: key "A6234074498E9CEE" could not be looked up remotely
0 意見:
張貼留言