On 11/19/23 16:55, moxie.arch@posteo.net 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@archlinux.org>" 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@archlinux.org>"? [Y/n]
error: key "9B7A287D9A2EC608" could not be imported
:: Import PGP key 94657AB20F2A092B, "Andreas Radke <andyrtr@archlinux.org>"? [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