• How To: Pacman Keyring Errors


    Sometimes your systems gpg keyring can become out of sync with the official keyrings from Antergos and Arch. When this occurs, pacman will give an error when you try to install or update any packages. To fix the problem you must refresh your keyring by running this command:
    [command:84ed5pej]sudo pacman -S antergos-keyring
    sudo pacman-key --populate archlinux antergos[/command:84ed5pej]

    Cheers!

  • Sometimes your systems gpg keyring can become out of sync with the official keyrings from Antergos and Arch. When this occurs, pacman will give an error when you try to install or update any packages. To fix the problem you must refresh your keyring by running this command:
    [command:84ed5pej]sudo pacman -S antergos-keyring
    sudo pacman-key --populate archlinux antergos[/command:84ed5pej]

    Cheers!

  • HHHmmmm. This didn’t solve the exact same problem I have. Any other thoughts?

    error: lightdm-webkit-theme-antergos: signature from “Antergos Build Server (Automated Package Build System) <[email protected]>” is marginal trust
    :: File /var/cache/pacman/pkg/lightdm-webkit-theme-antergos-2.0.6-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: numix-frost-themes: signature from “Antergos Build Server (Automated Package Build System) <[email protected]>” is marginal trust
    :: File /var/cache/pacman/pkg/numix-frost-themes-1.1.1-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: numix-icon-theme: signature from “Antergos Build Server (Automated Package Build System) <[email protected]>” is marginal trust
    :: File /var/cache/pacman/pkg/numix-icon-theme-0.r229.634c1c1-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: numix-icon-theme-square: signature from “Antergos Build Server (Automated Package Build System) <[email protected]>” is marginal trust
    :: File /var/cache/pacman/pkg/numix-icon-theme-square-1:0.r74.f1b7833-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n]
    error: failed to commit transaction (invalid or corrupted package)
    Errors occurred, no packages were upgraded.

  • I updated the post. Try it again and let me know if it resolves the issue :-)

  • @“lots.0.logs”:6fzrlhn7 said:

    I updated the post. Try it again and let me know if it resolves the issue :-)[/quote:6fzrlhn7]
    It did for me.

    Thanks!

  • OK. Should I be freaked out? :-)

    To get the update done, that I was trying to do. I set…
    SigLevel = Never
    That got the update done. Lovely!

    I went back into /etc/pacman.conf set SigLevel = Required DatabaseOptional

    Ran pacman -Syu and whoala! No issues.

    I’m wondering of the fiddling with refreshing keys and flushing stuff actually did something and I just needed to run the updates to bring everything back into kilter again?

  • I have tried with this command:

    sudo pacman-key --populate archlinux antergos

    And the answer is this one:

    ñadiendo las claves de archlinux.gpg…
    ==> Añadiendo las claves de antergos.gpg…
    ==> Firmando localmente las llaves confiadas en el llavero…
    -> Firmando localmente la llave 0E8B644079F599DFC1DDC3973348882F6AC6A4C2…
    -> Firmando localmente la llave 684148BB25B49E986A4944C55184252D824B18E8…
    -> Firmando localmente la llave 24B445614FAC071891EDCE49CDBD406AA1AA7A1D…
    ==> ERROR: 24B445614FAC071891EDCE49CDBD406AA1AA7A1D could not be locally signed.
    -> Firmando localmente la llave D95436A2E18DA94A72B1A5E2AEA529BF122902E5…
    ==> ERROR: D95436A2E18DA94A72B1A5E2AEA529BF122902E5 could not be locally signed.
    -> Firmando localmente la llave EC3B5CE8FE98DFDF51B705536D6DDA3D2A45C7B4…
    -> Firmando localmente la llave 44D4A033AC140143927397D47EFD567D4C7EA887…
    -> Firmando localmente la llave 27FFC4769E19F096D41D9265A04F9397CDFD6BB0…
    -> Firmando localmente la llave AB19265E5D7D20687D303246BA1DFB64FFF979E7…

    So, for me, if there are two errors, it’s impossible to find a solution.
    Any another idea??

    In the Manjaro Forum somebody proposed this way and he/she said it worked for him/her

    “Not an ideal solution, but I copied across an /etc/pacman.d/gnupg from another installation and that worked fine. Weird.”

    So, everybody let’s use a virtual machine or a different pc.

  • Ok. This is the solution that worked for me. I invite you to check it.

    First, I have made this from the arch linux wiki:
    “Resetting all the keys
    If you want to remove or reset all the keys installed in your system, you can remove /etc/pacman.d/gnupg folder as root and rerun pacman-key --init and following that add the keys as preferred.”

    then I have made
    sudo pacman -Syy
    sudo pacman-key --populate archlinux antergos

    And finally sudo pacman -Syu

    I have recovered the antergos repository.

    Good luck!

  • Glad you got it working :-)

  • i had the same problem… this was my solution
    sudo rm /var/lib/pacman/sync/*
    sudo pacman-key --init
    sudo pacman-key --populate archlinux antergos
    sudo pacman -Syy

  • @“enzro”:3nt738rw said:

    i had the same problem… this was my solution
    sudo rm /var/lib/pacman/sync/*
    sudo pacman-key --init
    sudo pacman-key --populate archlinux antergos
    sudo pacman -Syy[/quote:3nt738rw]

    Thank you enzro for this advice, it worked for me :D

Posts 11Views 7365
Log in to reply