Error: Key could not be imported
by kiawin
Do you ever face key could not be imported error during a pacman / yaourt update?
All thanks to the recent bash shellshock bug, I decided to make a full update to my archlinux system. However, I got the following error:
:: Proceed with installation? [Y/n] (211/211) checking keys in keyring [########################################] 100% downloading required keys... :: Import PGP key 1024D/, "Fabio Castelli <[email protected]>", created: 2009-07-04? [Y/n] error: key "Fabio Castelli <[email protected]>" 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
Comments
thank you, it is helpful!
I tried to update gimp help locales and i got the same error
I am really angry with this really stupid issue. Think about it,
updating the full system fresh installation, after downloading more than
1GB of data under phone network… and 1GB of downloaded packages used
of my flat rate
Thank you sir, it was simple and helpful. I’ll probably read this blog again.
As I understand pacman will reuse the cached packages when you rerun pacman. Unless, the packages were outdated or you have performed a cache cleanup.
Glad it helps :)
Thank you!
Glad it helps :)
Glad it helps :)
Thank you helpers!!!
Glad it helps :)
[…] http://kiawin.com/blog/2014/09/error-key-could-not-be-imported.html […]