Can't update my system due to a missing PGP key

I tried updating my system, using sudo pcaman -Syyu, but it fails with the following:

I tried looking around, but couldn’t get any of the proposed solutions to work.

sudo pacman -Syyu
error: could not register 'sublime-text' database (database already registered)
:: Synchronizing package databases...
 core                                                                                                             168.6 KiB   694 KiB/s 00:00 [#######################################################################################] 100%
 extra                                                                                                           1923.9 KiB  1673 KiB/s 00:01 [#######################################################################################] 100%
 community                                                                                                          6.6 MiB  2.64 MiB/s 00:02 [#######################################################################################] 100%
 multilib                                                                                                         177.4 KiB  5.25 MiB/s 00:00 [#######################################################################################] 100%
 sublime-text                                                                                                    1831.0   B  0.00   B/s 00:00 [#######################################################################################] 100%
 sublime-text.sig                                                                                                 543.0   B  0.00   B/s 00:00 [#######################################################################################] 100%
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...

Packages (2) archlinux-keyring-20210616-1  manjaro-keyring-20210622-1

Total Installed Size:  1.49 MiB
Net Upgrade Size:      0.01 MiB

:: Proceed with installation? [Y/n] 
(2/2) checking keys in keyring                                                                                                                [#######################################################################################] 100%
downloading required keys...
:: Import PGP key 428F7ECC7117F726, "Helmut Stult <helmut@manjaro.org>"? [Y/n] 
error: key "428F7ECC7117F726" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

:: Starting full system upgrade...
:: Replace adobe-source-sans-pro-fonts with extra/adobe-source-sans-fonts? [Y/n] 
:: Replace lib32-libcanberra-pulse with multilib/lib32-libcanberra? [Y/n] 
:: Replace libcanberra-pulse with extra/libcanberra? [Y/n] 
:: Replace pamac-common with extra/libpamac? [Y/n] 
:: Replace pamac-flatpak-plugin with extra/libpamac-flatpak-plugin? [Y/n] 
:: Replace pamac-snap-plugin with extra/libpamac-snap-plugin? [Y/n] 
:: Replace qca with extra/qca-qt5? [Y/n] 
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libcanberra (0.30+2+gc0620e4-5) breaks dependency 'libcanberra=0.30+2+gc0620e4-3' required by libcanberra-gstreamer

Same error with:

pamac update --force-refresh

?

1 Like

Can you try updating with Pamac? Ot might not fix the keys but it should solve the libcanberra error

While waiting for reply, I tried updating mirrors and then resetting the gpg database like suggested here: Can't update software - Keys missing from Keyring - #5 by cfinnberg

And using pamac update which also deals with the issues explained here: [Stable Update] 2021-06-14 - Kernels, Browsers, Mesa, Deepin, Systemd, Gnome Apps 40.2, Pipewire, Haskell - #2 by philm

Now it seems to be running…

I will update if is succeeds.
Update: It succeeded.

2 Likes