You are not logged in.
Hi, I try to update my packages as usual pacman -Syu
but it said some keyring isues so I do pacman -S archlinux-keyring
and again pacman -Syu and still have isues with keys.
So i try to do pacman-key --init and pacman-key --populate but apears this errror:
sudo pacman-key --init
gpg: s'està comprovant la base de dades de confiança
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keyring_get_keyblock failed: Invalid keyring
gpg: no s'ha pogut reconstruir la memòria cau de l'anell: Invalid keyring
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keydb_get_keyblock failed: Invalid keyring
gpg: validate_key_list failed
gpg: [don't know]: invalid packet (ctb=00)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keydb_get_keyblock failed: Invalid keyring
How i can restore keyblock?
Offline
Resetting all the keys
Remove or reset all the keys installed in your system by removing the /etc/pacman.d/gnupg directory (as root) and by rerunning pacman-key --init followed by pacman-key --populate to re-add the default keys.
Also please use LC_ALL=C when posting error messages.
Online