2015年5月23日 星期六

[Archlinux] Solve - invalid or corrupted package (PGP signature)

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:
  1. Arch Linux Sysadmin: Pacman: Fix for ‘invalid or corrupted package (PGP signature)’
  2. [SOLVED] error: key "A6234074498E9CEE" could not be looked up remotely

0 意見:

張貼留言