Unable to update, keys could not be imported

Tried updating the system with sudo pamac update, result
Apply transaction ? [y/N] y
Checking keyring… [324/324]
Downloading required keys…
Error: key “3B94A80E50A477C7” could not be imported
Error: key “139B09DA5BF0D338” could not be imported
Error: key “06096A6AD1CEDDAC” could not be imported

and it goes on and on. Trying to update with sudo pacman -Syu, result
:: Proceed with installation? [Y/n] y
(324/324) checking keys in keyring [######################] 100%
downloading required keys…
:: Import PGP key 3B94A80E50A477C7, “Jan Alexander Steffens (heftig) heftig@archlinux.org”? [Y/n] y
error: key “3B94A80E50A477C7” could not be imported
:: Import PGP key 139B09DA5BF0D338, “David Runge dvzrv@archlinux.org”? [Y/n]
error: key “139B09DA5BF0D338” could not be imported
:: Import PGP key 06096A6AD1CEDDAC, “Laurent Carlier lordheavym@archlinux.org”? [Y/n]
error: key “06096A6AD1CEDDAC” could not be imported

and the list goes on and on. What to do?

https://forum.manjaro.org/search?q=pacman%20key%20error

Hi @luppa, and welcome!

Had you searched, you’d have found many of the exact same problem. See

Edit:

From this answer it could have been deducted that to refresh the kees, the command world be:

sudo pacman-key --refresh-keys && sudo pacman-key --populate archlinux manjaro

Hope this helps!

2 Likes

Ah, sorry, I did try to search with the error like “key xxx could not be imported”, but I couldn’t find an answer that worked! But now I tried your linked solution written by H2I_net and update is working! Thanks!

I find in funny in a way that there are bunch of commands to correct the problem, and after them the page says “BTW these dont work anymore” :laughing: I guess it keeps noobs like me in check.

Where did you find that :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.