Key issue when upgrading

Hi,
I failed to update with:

sudo pacman -Sy endeavouros-keyring && sudo pacman -Syu

The upgrade failed with the error:

download required keys...
:: Import PGP key 9B7A287D9A2EC608, " David Runge <dvzrv@archlinux.org> " ? [Y/n] Y
error: key "9B7A287D9A2EC608" cannot be searched remotely
error: required key missing from keyring
error: transaction validation failed (unexpected error)
Errors occurred, no packages were updated.

any idea to solve the issue?Thanks.

Try:

sudo pacman -Syyu archlinux-keyring endeavouros-keyring

thanks, but it failed with (translated from french):

:: Proceed to installation ? [Y/n] Y
(187/187) check keys in keyring [----------------------------------------------------] 100%
download required keys...
:: Import PGP key 9B7A287D9A2EC608, "David Runge <dvzrv@archlinux.org>" ? [Y/n] Y
error: key "9B7A287D9A2EC608" cannot be searched remotely
error: required key not in keyring
error: transaction validation failed (unexpected error)
Errors occurred, no packages were updated.

Translated with www.DeepL.com/Translator (free version)

Ok. then try cleaning pacman keyring and start over, like it’s described here:

1 Like

Finally, it worked. thanks again.

1 Like

Great!
honka_animated-128px-40

I figure it happens rarely, looks like your keyring got corrupted for some reason…