You are not logged in.

#1 2016-09-27 18:22:38

nesk
Member
Registered: 2011-03-31
Posts: 181

[solved] Pacman complains about deleted key

I experimented with this custom repository recently. I added developer's key to pacman's keyring.
Later I removed the repository from /etc/pacman.conf and removed the key:

pacman-key -d 0x98BC6FF5
pacman-key -u

pacman-key -l shows that the key is no longer present, however I get this error when trying to upgrade:

# pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 infinality-bundle is up to date
 infinality-bundle-multilib is up to date
 infinality-bundle-fonts is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (20) <packages>

Total Installed Size:  331.83 MiB
Net Upgrade Size:       21.96 MiB

:: Proceed with installation? [Y/n] y
(20/20) checking keys in keyring                                                                     [############################################################] 100%
downloading required keys...
:: Import PGP key 2048R/9437DD3815A7A9169E3D3946AFF5D95098BC6FF5, "Maxime Gauduin <alucryd@gmail.com>", created: 2013-01-21? [Y/n] n
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

Why does pacman still trying to import that key?

Last edited by nesk (2016-09-28 07:10:55)

Offline

#2 2016-09-27 18:42:45

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [solved] Pacman complains about deleted key

Because "Maxime Gauduin <alucryd@gmail.com>" is not only the maintainer of that unofficial repository, but also an Arch developer, so that key is included in the archlinux-keyring package. Adding the key manually was unnecessary and deleting it caused this problem.

Offline

Board footer

Powered by FluxBB