• GPGME error: no data


    Starting yesterday I have this error when I run ‘sudo pacman -Syu’.

    Where have I gone wrong?

    [email protected] ~> sudo pacman -Syu
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    :: Synchronizing package databases...
     antergos is up to date
     core                                                          3.7 KiB  0.00B/s 00:00 [##################################################] 100%
     core.sig                                                      3.7 KiB  0.00B/s 00:00 [##################################################] 100%
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
     extra                                                         3.7 KiB  0.00B/s 00:00 [##################################################] 100%
     extra.sig                                                     3.7 KiB  0.00B/s 00:00 [##################################################] 100%
    error: GPGME error: No data
    error: failed to update extra (invalid or corrupted database (PGP signature))
     community                                                     3.7 KiB  0.00B/s 00:00 [##################################################] 100%
     community.sig                                                 3.7 KiB  0.00B/s 00:00 [##################################################] 100%
    error: GPGME error: No data
    error: failed to update community (invalid or corrupted database (PGP signature))
     multilib                                                      3.7 KiB  0.00B/s 00:00 [##################################################] 100%
     multilib.sig                                                  3.7 KiB  0.00B/s 00:00 [##################################################] 100%
    error: GPGME error: No data
    error: failed to update multilib (invalid or corrupted database (PGP signature))
    error: database 'core' is not valid (invalid or corrupted database (PGP signature))
    error: database 'extra' is not valid (invalid or corrupted database (PGP signature))
    error: database 'community' is not valid (invalid or corrupted database (PGP signature))
    error: database 'multilib' is not valid (invalid or corrupted database (PGP signature))
    
  • I have exactly the same problem, any ideas how to fix this…

  • $ sudo pacman-key --init
    $ sudo pacman-key --populate archlinux
    $ sudo pacman-key --refresh-keys

  • sorry

    $ sudo pacman-key --init
    $ sudo pacman-key --populate antergos archlinux
    $ sudo pacman-key --refresh-keys

  • I have the same problem, tried those commands but it isn’t solved yet.

  • archlinux mirror problem? may ranking them helps:

    yaourt -S fetchmirrors
    sudo fetchmirrors -q -s 16 -c DE
    

    DE needs to be changed to your countries letters

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • sudo rankmirrors -n 0 /etc/pacman.d/mirrorlist > /tmp/mirrorlist && sudo cp /tmp/mirrorlist /etc/pacman.d
    

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • @joekamprad sadly didn’t work.
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: la base de datos «core» no es válida (base de datos no válida o dañada (firma PGP))
    error: la base de datos «extra» no es válida (base de datos no válida o dañada (firma PGP))
    error: la base de datos «community» no es válida (base de datos no válida o dañada (firma PGP))
    error: la base de datos «multilib» no es válida (base de datos no válida o dañada (firma PGP))
    cargando los paquetes…
    error: no se pudo preparar la operación (base de datos no válida o dañada)
    ==> AVISO: Sus paquetes se han guardado en /tmp/yaourt-tmp-jacqueline

  • @jacdecoster said in GPGME error: no data:

    error: GPGME error: No data

    sudo pacman -Syy
    

    If still not work then:

    sudo rm -R /etc/pacman.d/gnupg
    sudo pacman-key --init
    sudo pacman-key --populate antergos archlinux
    sudo pacman-key --refresh-keys
    sudo pacman -Syyu
    

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • Still the same error

  • then disable sig check temporary:

    sudo nano /etc/pacman.conf

    By default, pacman accepts packages signed by keys that its local keyring

    trusts (see pacman-key and its man page), as well as unsigned packages.

    SigLevel = Required DatabaseOptional
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required

    search for the line starting with SigLevel (the one i mark bold inside text before here)

    and change it :

    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    #SigLevel    = Required DatabaseOptional
    SigLevel = Never
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required
    

    save with [Ctrl+X]

    sudo pacman -Syyu
    

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • new mistakes
    error: no se pudo abrir el archivo /var/lib/pacman/sync/community.db: Unrecognized archive format
    error: no se pudo abrir el archivo /var/lib/pacman/sync/multilib.db: Unrecognized archive format
    error: no se pudo abrir el archivo /var/lib/pacman/sync/multilib.db: Unrecognized archive format
    …el sistema ya está actualizado.

  • @jacdecoster said in GPGME error: no data:

    Unrecognized archive format

    this is surely caused by mirrors not in sync or also possible restriction/banning from your ISP or other mechanism.

    //404// ERROR

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • ok, thank you. I’ll try again tomorrow

  • @joekamprad said in GPGME error: no data:

    sudo pacman -Syyu

    will be a good choice then… you will need to ghet working db files back …

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

  • For what it’s worth, I have the same problems as @jacdecoster, and we’re at the same point it seems: waiting for the mirrors to sync.

    I’m not using my antergos laptop as my main dev machine, but it is my work laptop and it worries me that I got things out of whack with the system update utility.

    Was the primary cause, perhaps, the out-of-sync mirrors? Did I corrupt the db somehow on my own?

  • @bdunbar hi is de list of mirrors the problem
    https://forum.antergos.com/topic/2859/solved-invalid-or-corrupted-database-pgp-signature/12
    in this post you fin de the solution search the mirrors with reflector and pastes the output in /etc/pacman.d/mirrorlist.

  • Thanks, @mario-rengifo ! And I learned a few things from that post, too.

    > sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist
    ...
    > sudo pacman -Syyu
    

    And stuff works. Appreciate it.

  • Thge cauise can be different,. but mostly out of sync mirror or not clean updated db files on your side… and of caus also real corrupted signature ( 😉 ) by accident …

    So as we get on past issues to this, different setups seems to need different steps to solve this…

    To update the mirrorlists for Arch and Antergos Repos from time to time is a very good to do also, as special on Archside there are a lot of mirrors, and a sorted list will prevent you from issues like this a lot…
    @manuel have programmed a tool to update antergos mirrors in a smart way, but rankmirrors will work for both repositories.

    sudo rankmirrors -n 0 /etc/pacman.d/mirrorlist > /tmp/mirrorlist && sudo cp /tmp/mirrorlist /etc/pacman.d
    sudo rankmirrors -n 0 /etc/pacman.d/antergos-mirrorlist > /tmp/antergos-mirrorlist && sudo cp /tmp/mirrorlist /etc/pacman.d
    

    We have also a WIKI 😉

    https://antergos.com/wiki/uncategorized/update-error-involving-keyrings/

    [updates once a week] = [90% less problems]
    antergos:_rescue
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    :handshake: donate antergos

error285 data5 gpgme1 Posts 21Views 1044
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.