As seen from this reddit thread
- Remove or move away
/etc/pacman.d/gnupg
and~/.gnupg
- [If archlinux-keyring has issues]:
- Try executing
pacman -Sy archlinux-keyring
. If it gives off signing errors disable signature verification (This is unsecure. Remember to roll back the change immediately after use) To do so open/etc/pacman.conf
, locate theSigLevel =
row (usually set asRequired DatabaseOptional
) and comment it out addingSigLevel = Never
on the next row (reference the wiki for more info) - Re-execute
pacman -Sy archlinux-keyring
and thenpacman -S archlinux-keyring
- Rollback the
/etc/pacman.conf
change by uncommenting the "Required" line and removing the "Never" line
- Try executing
- Execute as root (or with sudo)
pacman-key --init
to reinitialize the trustdb databasepacman-key --populate
to populate it with the default keyspacman-key --refresh-keys
to update the keys to the current version