Today I update my ArchLinux system with pacman -Syu
, when check for package key, I got following errors:
:: Proceed with installation? [Y/n] (211/211) checking keys in keyring [########################################] 100% downloading required keys... :: Import PGP key 1024D/, "Fabio Castelli muflone@vbsimple.net", created: 2009-07-04? [Y/n] error: key "Fabio Castelli muflone@vbsimple.net" could not be imported error: required key missing from keyring error: failed to commit transaction (unexpected error) Errors occurred, no packages were upgraded.
The solution is pretty simple. We need to first update archlinux-keyring before proceeding to update other packages.
$ sudo pacman -Syy
$ sudo pacman -S archlinux-keyring
$ sudo pacman -Syu
Ref: Error: Key could not be imported.