• PGP signature error


    Hello.
    I get this error when I try to update my system and I’m having trouble fixing it. I’ve tried a couple posts I found on here, but couldn’t get it to work and they were a few years old, so thought I’d open a new thread.

    ┌─[[email protected]]─[~]
    └───[# sudo pacman -Syy
    [sudo] password for main: 
    error: GPGME error: No data
    :: Synchronizing package databases...
     antergos                                                                                 652.0   B   212K/s 00:00 [####################################################################] 100%
     antergos.sig                                                                             652.0   B  0.00B/s 00:00 [####################################################################] 100%
    error: GPGME error: No data
    error: failed to update antergos (invalid or corrupted database (PGP signature))
     core                                                                                     125.4 KiB  1394K/s 00:00 [####################################################################] 100%
     extra                                                                                   1654.1 KiB  2.66M/s 00:01 [####################################################################] 100%
     community                                                                                  4.0 MiB  2.80M/s 00:01 [####################################################################] 100%
     multilib                                                                                 173.0 KiB  1573K/s 00:00 [####################################################################] 100%
    error: database 'antergos' is not valid (invalid or corrupted database (PGP signature))
    
  • try download: https://repo.antergos.info/antergos/x86_64/antergos-keyring-20170524-1-any.pkg.tar.xz
    and manual install with sudo pacman -U antergos-keyring-20170524-1-any.pkg.tar.xz

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

  • Thanks for the suggestion. Unfortunately it didnt help, here’s the output:

    ┌─[[email protected]]─[~/Downloads]
    └───[# sudo pacman -U antergos-keyring-20170524-1-any.pkg.tar.xz 
    error: GPGME error: No data
    error: database 'antergos' is not valid (invalid or corrupted database (PGP signature))
    loading packages...
    warning: antergos-keyring-20170524-1 is up to date -- reinstalling
    error: failed to prepare transaction (invalid or corrupted database)
    
    
  • @heap said in PGP signature error:

    error: GPGME error: No data

    it is a strange error b.t.w. do you do anything with your pacman.conf before?

    try to populate the keys:

    pacman-key --init
    pacman-key --populate archlinux antergos
    pacman -Syy
    

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

  • @heap said in PGP signature error:

    error: failed to prepare transaction (invalid or corrupted database)

    If this do not help it might be an mirror issue also, try commenting the sourceforgemirror inside antergos-mirrorlist like this:

    ........
    #
    Server = http://mirrors.antergos.com/$repo/$arch
    #Server = http://sourceforge.net/projects/antergos/files/mirror/$repo/$arch
    ..........
    

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

  • @heap said in PGP signature error:

    error: failed to prepare transaction (invalid or corrupted database)

    If all this does not help do it the hard way (should be save i try inside VM)

    rm -R /var/lib/pacman/sync
    pacman -Syu
    

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

  • @joekamprad Hello, sorry I haven’t answered you further. I gave up there for a while. Though it seems like removing the sourceforge mirror did it for me, I still think my mirrorlist is not optimal as I’m getting various errors. Especially from bjtu.edu.cn mirror. I guess after not using the system for like half a year there’s bound to be a few errors with the mirrorlist. I think removing mirrors as I get errors will solve it for me from here.
    Thanks for your help, Joe

signature10 error186 pgp9 Posts 7Views 157
Log in to reply