On 9/15/23 12:34, moxie.a...@posteo.net wrote:
But it seems such a mess, I'd probably go with this
$ sudo pacman -Scc
$ sudo rm -r /etc/pacman.d/gnupg
$ sudo pacman-key --init
$ sudo pacman-key --populate archlinux
$ sudo pacman -Sy archlinux-keyring

to have clean slate, because it would seem you've tried all kinds of things
gpg: WARNING: unsafe permissions on homedir '/etc/pacman.d/gnupg'
is not good nor running constantly as root

Many thanks.  Those steps fixed my problem. I have not done pacman -Scc, because I need old cache for my pacnewhelper[1] scripts. Besides sha256 sum was correct on archlinux-keyring package.

It seems that /etc/pacman.d/gnupg somehow gets corrupted. I did not touch anything there, I only use yay and pacman to upgrade.

Regards,
Łukasz

[1] https://github.com/BlackZork/pacnewhelper


Reply via email to