You are not logged in.
Starting today, I get this error messge when trying to upgrade via pacman
error: key "7A4E76095D8A52E4" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)Generating a fresh keyring (https://www.archlinux.org/news/gnupg-21 … n-keyring/) doesn't resolve the problem.
Anyone else getting an error similar to this?
Any ideas on resolving the issue?
Last edited by ayr0 (2014-12-19 22:06:18)
Offline
Solved by reinstalling archlinux-keyring
Offline
I followed your lead. Thanks, I solved it too! ![]()
Offline
One should follow https://wiki.archlinux.org/index.php/Pa … mport_keys in case reinstalling pacman-keyring wouldn't sufice.
Using unofficial repos? May have a sig-key, which may need to be re-added. https://wiki.archlinux.org/index.php/Un … positories
eg for Graysky's repo-ck: https://bbs.archlinux.org/viewtopic.php … 1#p1485841
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery
) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
Solved by reinstalling archlinux-keyring
Actually it was an upgrade. I guess you should always update archlinux-keyring first. Thanks for pointing it out.
Offline
sudo pacman -S archlinux-keyring && sudo pacman -Syu@ayr0 - Thanks, re-installing archlinux-keyring worked.
Offline
sudo pacman -S archlinux-keyring && sudo pacman -Syu
Resolved for me as well !!
Linux is easy.. People are Difficult
Offline
For future self and possibly others: Check your system clock. I forgot that I removed the CMOS battery so my time reset to ~2002. The keys were obviously invalid at that time, which is why you get the error. I had to not only set the correct time but also reboot, then it worked.
(oh and it would be nice if pacstrap could just casually check time from some internet server and report if it is years off)
Last edited by Amunak (2015-03-30 18:11:47)
Offline
I think the best solution for this case is
pacman -Sy archlinux-keyring
pacman -Su
Some people may say that the first command is a partial upgrade, but archlinux-keyring could be an exception especially considering that a full update follows right after. Why -Sy and not -S? To make sure you have the latest keys.
Offline
I think the best solution for this case is
pacman -Sy archlinux-keyring
pacman -SuSome people may say that the first command is a partial upgrade, but archlinux-keyring could be an exception especially considering that a full update follows right after. Why -Sy and not -S? To make sure you have the latest keys.
Many thanks, you save my day
Offline