Stuck in PGP Key HELL!

#1

So two days ago, got notified that there were updates available, used Pamac to run updates, started generating all sorts of Key errors…

I tried refreshing the mirrors, refreshing the Database and every command in this thread: https://forum.manjaro.org/t/failure-to-update/67433/5

When I run pacman from command line, this is what I get, eventually I have to kill the process or it will run through every key and fail.

[joao@joao-pc ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
 core                                                 149.0 KiB   128K/s 00:01 [############################################] 100%
 extra                                               1842.5 KiB   258K/s 00:07 [############################################] 100%
 community                                              5.1 MiB   283K/s 00:19 [############################################] 100%
 multilib                                             184.4 KiB   426K/s 00:00 [############################################] 100%
:: Starting full system upgrade...
warning: backintime: local (1.1.24-1) is newer than community (1.1.12.r449.gba37b1e7-2)
...
               xreader-2.0.2-1  xterm-340-1  xviewer-2.0.2-1  yay-9.0.1-3.0  youtube-dl-2018.12.17-1

Total Installed Size:  5732.83 MiB
Net Upgrade Size:        95.20 MiB

:: Proceed with installation? [Y/n] y
(269/269) checking keys in keyring                                             [############################################] 100%
downloading required keys...
:: Import PGP key 4096R/8E1992167465DB5FB045557CB02854ED753E0F1F, "Anatol Pomozov <anatol.pomozov@gmail.com>", created: 2014-02-03? [Y/n] y
error: key "Anatol Pomozov <anatol.pomozov@gmail.com>" could not be imported
:: Import PGP key 2048R/86CFFCA918CF3AF47147588051E8B148A9999C34, "Evangelos Foutras <foutrelis@gmail.com>", created: 2010-11-12? [Y/n] y
error: key "Evangelos Foutras <foutrelis@gmail.com>" could not be imported
:: Import PGP key 2048R/535F8C0339450F054A4D282706096A6AD1CEDDAC, "Laurent Carlier <lordheavym@gmail.com>", created: 2011-10-30? [Y/n] y
error: key "Laurent Carlier <lordheavym@gmail.com>" could not be imported
:: Import PGP key 2048R/8218F88849AAC522E94CF470A5E9288C4FA415FA, "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>", created: 2011-08-25? [Y/n] y
error: key "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" could not be imported
:: Import PGP key 2048R/02FD1C7A934E614545849F19A6234074498E9CEE, "Christian Hesse (Arch Linux Package Signing) <arch@eworm.de>", created: 2011-08-12? [Y/n] y
error: key "Christian Hesse (Arch Linux Package Signing) <arch@eworm.de>" could not be imported
:: Import PGP key 2048R/ADC8A1FCC15E01D45310419E94657AB20F2A092B, "Andreas Radke <a.radke@arcor.de>", created: 2011-05-14? [Y/n] y
error: key "Andreas Radke <a.radke@arcor.de>" could not be imported
:: Import PGP key 2048R/E4CDFE50A2DA85D58C8A8C70CAA6A59611C7F07E, "Philip Müller (Called Little) <philm@manjaro.org>", created: 2012-05-05? [Y/n] y
error: key "Philip Müller (Called Little) <philm@manjaro.org>" could not be imported
^C
Interrupt signal received
#2

Have you done the normal thing and

sudo pacman -Sy archlinux-keyring manjaro-keyring
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys

?

https://wiki.manjaro.org/index.php?title=Pacman_troubleshooting#Errors_about_Keys

1 Like
#3

well, I tried it again, this is what I get, going to try the “nuclear option”.

#4

Nuclear option was the only thing that worked… System update perfectly.

#5

…and the “nuclear option” is? :thinking:

#6

If you have any other errors, there’s the “nuclear option”:

sudo rm -fr /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys
sudo pacman -Syyu
1 Like
#7

It was from the link that I marked as the solution.

closed #8

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