• Problem with GPG keyrings and wrong signatures


    I was trying to update Spotify from AUR and i get problem with many package becuase his gpg keys are wrong.

    So i decided reinstall gpg packages and refresh the gpg keys, i get this error:

    error: gnupg: signature from "Gaetan Bisson <[email protected]>" is unknown trust
    :: El archivo /var/cache/pacman/pkg/gnupg-2.1.20-1-x86_64.pkg.tar.xz está dañado (paquete no válido o dañado (firma PGP)).
    ¿Quiere eliminarlo? [S/n] S
    error: archlinux-keyring: signature from "Bartlomiej Piotrowski <[email protected]>" is unknown trust
    :: El archivo /var/cache/pacman/pkg/archlinux-keyring-20170320-1-any.pkg.tar.xz está dañado (paquete no válido o dañado (firma PGP)).
    ¿Quiere eliminarlo? [S/n] S
    error: antergos-keyring: signature from "Alexandre Filgueira Sánchez (2012/07/15) <[email protected]>" is unknown trust
    :: El archivo /var/cache/pacman/pkg/antergos-keyring-20150806-1-any.pkg.tar.xz está dañado (paquete no válido o dañado (firma PGP)).
    ¿Quiere eliminarlo? [S/n] S
    error: no se pudo realizar la operación (paquete no válido o dañado (firma PGP))
    Ocurrieron errores, por lo que no se actualizaron los paquetes
    
    

    I used this commands:

    sudo rm -r /etc/pacman.d/gnupg &&
    sudo pacman-key --init &&
    sudo pacman -Sy gnupg archlinux-keyring antergos-keyring &&
    sudo pacman-key --populate archlinux antergos &&
    sudo pacman-key --refresh-keys &&
    sudo pacman -Sc
    

    What’s wrong?

    Thank you!

  • @alaguna Hi! well i’m not sure if your problem is related to what @judd linked.

    If not, the normal procedure to fix that (usually happen if your OS is not updated for about a month or more):

    *I’l l post if @judd solution doesn’t work.

    Antergos (default OS) - WIN10 (abandoned)
    I3wm - Mate desktop
    AMD - A4 7300 Radeon graphics
    16 GB ram
    HD 1 TB
    Linux newbie since 06/2016

signatures2 keyrings2 gpg4 Posts 3Views 465
Log in to reply