• antergos-keyring: package corrupted


    Hi all,

    I have an issue with pacman upgrade:

    error: antergos-keyring: signature from "Antergos Build Server (Automated Package Build System) <[email protected]>" is unknown trust
    :: File /var/cache/pacman/pkg/antergos-keyring-20170524-1-any.pkg.tar.xz is corrupted (the package is invalid or corrupted (PGP-key)).
    

    Any idea?

  • sudo pacman-key --refresh-keys

    See https://forum.antergos.com/topic/6984/error-with-antergos-keyring

    I'm not from this planet but if you speak to me nicely I may choose not to enslave you (for now anyway)…

  • @robgriff444 thanks.

    With

    pacman-key --refresh-keys
    pacman -Syyu
    

    it works.

    Best regards

  • @abacus1985 …found same message trying pacman…
    deleted entry “keyring”…tried again, same message while downloading…

  • @wsypostbox …did key refresh…think “works proper now” ;-)
    nice forum here…OS Antergos is a real good deal…my favore…
    greets from german coastline…

  • $ sudo pacman-key --refresh-keys
    gpg: refreshing 94 keys from hkp://pool.sks-keyservers.net
    gpg: keyserver refresh failed: Address family not supported by protocol
    ==> ERROR: A specified local key could not be updated from a keyserver.
    
  • do:

    sudo pacman-key --refresh-keys --keyserver ipv4.pool.sks-keyservers.net
    

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    http://kamprad.net/howto-installing-antergos/
    https://forum.antergos.com/topic/1883/how-to-include-system-logs-when-asking-for-help

  • I’m have the same issue, but my error is slightly different:
    error: antergos-keyring: signature from "Antergos Build Server (Automated Package Build System) <[email protected]>" is marginal trust :: File /var/cache/pacman/pkg/antergos-keyring-20170524-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Notice, “marginal trust” instead of unknown.

    I’ve done all this:

    sudo rm -R /etc/pacman.d/gnupg/
    sudo rm -R /root/.gnupg/
    sudo gpg --refresh-keys
    sudo pacman-key --init && sudo pacman-key --populate
    sudo pacman-key --refresh-keys
    

    Refresh completed successfully (“Total number processed: 93”) Still getting the error.

    Any help would be greatly appreciated.
    Thanks!

  • Try to disable signature checks for “antergos” repo in /etc/pacman.conf (SignatureLevel = Never), reinstall antergos-keyring and re-enable signature checks. Worked for me.

  • Thanks @bytefu That worked… with a slight modification. For anyone else who may find this thread, it’s actually “SigLevel = Never” and it needs to be in the antergos section. Like this:

    [antergos]
    SigLevel = Never
    
  • @bill.peters You’re right. I usually check every little thing before posting, but that time, weirdly, relied on my memory and got the parameter name wrong. In fact, I should have posted an actual excerpt from the pacman.conf in the first place - that way I would not only avoid the mistake, but also present information much more clearly. A little lesson for me :nerd:

  • @bytefu and @bill-peters
    Isn’t it dangerous to deactivate the Signature checking if packages fail?

    It basically means if an attacker managed to inject a package, you would be willing to make the one single exception he needs to install it on your machine or am I wrong?

    I’ve got the same issues as the Thread opener and my problem can’t be fixed with the suggested commands. I think “only” your approach would help (changing SigLevel to never).

    Does anybody have insights how this issue can happen anyways?

  • @mollitz It was an unusual error by one of the devs: read from here until you see the dev (lots.0.logs) respond: https://forum.antergos.com/topic/6984/error-with-antergos-keyring/47

    I'm not from this planet but if you speak to me nicely I may choose not to enslave you (for now anyway)…

  • Thanks for the insights

  • @bill.peters Having the same or similar issue for about a week and this worked for me today.

    Thanks.

    Tower | Dell Optiplex 760 | Quad Core | 4gb | 250gb | Mageia Cauldron - Debian Testing - SalixOS 14.1
    Tower2 | HP DC-7700 | Core 2 Duo | 2gb | 80gb | Mageia 5 - ArchLinux

upgrades3 pacman69 Posts 15Views 3100
Log in to reply