Re: Pacman -Syu fails because of required keys missing from keyring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11/19/23 16:55, moxie.arch@xxxxxxxxxx wrote:
What happens if you just try
# pacman -Sy archlinux-keyring

and then the default

Polarian also suggested that.

It gave me:

pacman -Sy archlinux-keyring

:: Retrieving packages...
 archlinux-keyring-20231113-...  1173.6 KiB  4.78 MiB/s 00:00 [##################################] 100%
(1/1) checking keys in keyring                                [##################################] 100%
(1/1) checking package integrity                              [##################################] 100%
error: archlinux-keyring: signature from "Christian Hesse <eworm@xxxxxxxxxxxxx>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20231113-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y


But as Daniel suggested:

rm -rf /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux
pacman -Sy archlinux-keyring

Did solve the issue.

Probably somehow the gnupg cache got corrupted.



On 23-11-19 16:47:31, Zerro wrote:
Hello

I tried to run pacman -Syu to update my Arch Linux system.

Downloading the (39) packages goes well.

But when installing I do get messages like:

:: Import PGP key 9B7A287D9A2EC608, "David Runge <dvzrv@xxxxxxxxxxxxx>"? [Y/n]
error: key "9B7A287D9A2EC608" could not be imported
:: Import PGP key 94657AB20F2A092B, "Andreas Radke <andyrtr@xxxxxxxxxxxxx>"? [Y/n]
error: key "94657AB20F2A092B" could not be imported

12 keys could not be imported and pacman thereafter stops the update.

I do have another Arch Linux system which doesn't show these errors.

Looks like there is an issue with this system.

Is there a way to have these keys imported so that I can update my Arch Linux system ?


~Zerro



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux