• [SOLVED] invalid or corrupted database (PGP signature)


    did this:

    sudo pacman -Syu
    :: Synchronizing package databases...
     core                     848.0   B   276K/s 00:00 [######################] 100%
     core.sig                 848.0   B  0.00B/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
     extra                    848.0   B  0.00B/s 00:00 [######################] 100%
     extra.sig                848.0   B  0.00B/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update extra (invalid or corrupted database (PGP signature))
     community                848.0   B  0.00B/s 00:00 [######################] 100%
     community.sig            848.0   B  0.00B/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update community (invalid or corrupted database (PGP signature))
     multilib                 848.0   B  0.00B/s 00:00 [######################] 100%
     multilib.sig             848.0   B  0.00B/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update multilib (invalid or corrupted database (PGP signature))
     antergos                 476.9 KiB   877K/s 00:01 [######################] 100%
    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))
    

    then did this after I got a new mirrorlist from the Arch wiki (copy/pasted it):

    sudo pacman-key --populate archlinux
    ==> Appending keys from archlinux.gpg...
    gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
    gpg: depth: 0  valid:   1  signed:   8  trust: 0-, 0q, 0n, 0m, 0f, 1u
    gpg: depth: 1  valid:   8  signed:  64  trust: 0-, 0q, 0n, 8m, 0f, 0u
    gpg: depth: 2  valid:  64  signed:   6  trust: 64-, 0q, 0n, 0m, 0f, 0u
    gpg: next trustdb check due at 2016-01-22
    ==> Locally signing trusted keys in keyring...
      -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
      -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
      -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
      -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
      -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
    ==> Importing owner trust values...
    ==> Disabling revoked keys in keyring...
      -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
      -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
      -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
      -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
      -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
      -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
      -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
      -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
      -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
      -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
      -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
      -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
    ==> Updating trust database...
    gpg: next trustdb check due at 2016-01-22
    

    Then this again:

     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...
     core                     848.0   B   276K/s 00:00 [######################] 100%
     core.sig                 848.0   B  0.00B/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
     extra                    848.0   B  0.00B/s 00:00 [######################] 100%
     extra.sig                848.0   B  0.00B/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update extra (invalid or corrupted database (PGP signature))
     community                848.0   B  0.00B/s 00:00 [######################] 100%
     community.sig            848.0   B  0.00B/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update community (invalid or corrupted database (PGP signature))
     multilib                 848.0   B  0.00B/s 00:00 [######################] 100%
     multilib.sig             848.0   B  0.00B/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update multilib (invalid or corrupted database (PGP signature))
     antergos is up to date
    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))
    

    This is the content in pacman.conf from /etc/pacman.conf

    Is this normal? Had to take out the # because it made some of the lettering too big for this post. The pound is in NOT in front of “RefreshPeriod = 6”

    Pamac configuration file

     When removing a package, also remove those dependencies
     that are not required by other packages (recurse option):
    RemoveUnrequiredDeps
    
     How often to check for updates, value in hours (0 to disable):
    RefreshPeriod = 6
    
     When there are no updates available, hide the tray icon:
    NoUpdateHideIcon
    
     Allow Pamac to search and install packages from AUR:
    EnableAUR
    
    When AUR support is enabled search in AUR by default:
    SearchInAURByDefault
    
    When AUR support is enabled check for updates from AUR:
    CheckAURUpdates
    
     Do not ask for confirmation when building packages:
    NoConfirmBuild
    

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • Hi, Please verify that this line appears in /etc/pacman.conf before any repos are listed:

    SigLevel    = Required DatabaseOptional
    

    Cheers!

  • Hi. Yes it is there. It is uncommented too.

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • @Modisc That’s OK.

    Try to change your current mirrors, by updating the mirrorlist with smth like this

    sudo reflector --age 4 --fastest 64 --latest 32 --number 16 --sort rate --save /etc/pacman.d/mirrorlist
    

    Then, retry the system’s upgrade.

    Two coomands look like

    $ sudo reflector --age 4 --fastest 64 --latest 32 --number 16 --sort rate --save /etc/pacman.d/mirrorlist
    [sudo] password for just: *********
    $ sudo pacman -Syu
    :: Synchronizing package databases...
     core is up to date
     extra is up to date
     community is up to date
     multilib is up to date
     antergos is up to date
    :: Starting full system upgrade...
     there is nothing to do
    $ 
    
  • tried to do this with the following output:

    sudo reflector --age 4 --fastest 64 --latest 32 --number 16 --sort rate --save /etc/pacman.d/mirrorlist
    sudo: reflector: command not found
    

    not too sure where the ‘reflector’ came from. Then went (to try the 1st command suggested):

    yaourt -S reflector
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    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))
    [[email protected] ~]$ yaourt -Sy reflector
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    :: Synchronizing package databases...
     core                                                                                          848.0   B  0.00B/s 00:00 [########################################################################] 100%
     core.sig                                                                                      848.0   B  0.00B/s 00:00 [########################################################################] 100%
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
     extra                                                                                         848.0   B  0.00B/s 00:00 [########################################################################] 100%
     extra.sig                                                                                     848.0   B  0.00B/s 00:00 [########################################################################] 100%
    error: GPGME error: No data
    error: failed to update extra (invalid or corrupted database (PGP signature))
     community                                                                                     848.0   B  0.00B/s 00:00 [########################################################################] 100%
     community.sig                                                                                 848.0   B  0.00B/s 00:00 [########################################################################] 100%
    error: GPGME error: No data
    error: failed to update community (invalid or corrupted database (PGP signature))
     multilib                                                                                      848.0   B  0.00B/s 00:00 [########################################################################] 100%
     multilib.sig                                                                                  848.0   B  0.00B/s 00:00 [########################################################################] 100%
    error: GPGME error: No data
    error: failed to update multilib (invalid or corrupted database (PGP signature))
     antergos                                                                                      476.9 KiB   749K/s 00:01 [########################################################################] 100%
    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))
    

    Tried with pacman as well:
    Same thing.

    sudo pacman -S reflector
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    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))
    

    pacman is up to date:

    pacman --version
    Pacman v4.2.1 - libalpm v9.0.1
    

    Just wondering that I should try this:
    link text

    Right now, when I:

    antergos.db community.db community.db.sig core.db core.db.sig extra.db extra.db.sig multilib.db multilib.db.sig

    The one’s that are HTML are:

    1. community.db;
    2. core.db;
    3. multib.db;
    4. extra.db

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • reflector is contained in the community repo:

    $ pacman -Si reflector
    Repository     : community  <--
    Name           : reflector
    Version        : 2014.11-1
    Description    : A Python 3 module and script to retrieve and filter the latest Pacman mirror list.
    Architecture   : any
    URL            : http://xyne.archlinux.ca/projects/reflector
    Licenses       : GPL
    Groups         : None
    Provides       : None
    Depends On     : python3
    Optional Deps  : rsync: rate rsync mirrors
    Conflicts With : None
    Replaces       : None
    Download Size  :  14.60 KiB
    Installed Size :  86.00 KiB
    Packager       : Xyne
    Build Date     : Sun 02 Nov 2014 16:29:01 MSK
    Validated By   : MD5 Sum  SHA256 Sum  Signature
    
    $ 
    

    It doesn’t need yaourt to be installed, pacman is enough.

    I thought that reflector is installed by default. The problem is that you can’t install it even with pacman, because you have no access to community .

    Still, it is always possible to edit /etc/pacman.d/mirrorlist by hand. Comment and uncomment in it any server(s) you like. Retry system’s upgrade. If it will be successful, install (and use) reflector asap.

  • @Modisc Please use a pastebin service to post the contents of /etc/pacman.conf. Thanks.

  • It was/is uncommented.

    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    

    besides, even with only installing reflector:

    sudo pacman -Si reflector
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    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))
    

    Also, please see the bottom half of my last post. You must have posted while I was in the middle of editing it to provide additional info.
    What do you think of solution in link? It sounds like a plausible solution.

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • Okay but I want to see the entire file contents just to rule something out :wink:

  • @Modisc While you’re about to share the /etc/pacman.conf file requested, this one is most recent

    /etc/pacman.d/mirrorlist.pacnew
    

    You could use as an example mirrorlist, ready to use.

  • Please see the pastebin link:

    link text

    @ Just. If I use the one your providing, I"d still be experiencing the PGP key error. I don’t think it’s the mirrorlist. I think it might be something else. Not sure what though. I can try to use the one your providing. Will let you know.

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • Okay do this…replace the contents of /etc/pacman.d/mirrorlist with the following:

    ################################################################################
    ################# Arch Linux mirrorlist generated by Reflector #################
    ################################################################################
    
    # With:       reflector -l 50 -f 10 --save /etc/pacman.d/mirrorlist
    # When:       2015-09-13 07:40:54 UTC
    # From:       https://www.archlinux.org/mirrors/status/json/
    # Retrieved:  2015-09-13 07:40:35 UTC
    # Last Check: 2015-09-13 07:28:48 UTC
    
    Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
    Server = http://arch.localmsp.org/arch/$repo/os/$arch
    Server = http://archlinux.mailtunnel.eu/$repo/os/$arch
    Server = http://archlinux.polymorf.fr/$repo/os/$arch
    Server = http://mirror.bitjungle.info/archlinux/$repo/os/$arch
    Server = http://ftp.nluug.nl/os/Linux/distr/archlinux/$repo/os/$arch
    Server = http://mirror.fluxent.de/archlinux/$repo/os/$arch
    Server = http://mirror.fs.cx/archlinux/$repo/os/$arch
    Server = http://mirror.js-webcoding.de/pub/archlinux/$repo/os/$arch
    Server = http://archlinux.my-universe.com/$repo/os/$arch
    

    Then run the following command:

    sudo pacman -Syyu
    

    Let us know the result.

  • sudo pacman -Syyu
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    :: Synchronizing package databases...
     core                                                                                          120.0 KiB   322K/s 00:00 [########################################################################] 100%
     extra                                                                                        1808.7 KiB  1180K/s 00:02 [########################################################################] 100%
     community                                                                                       2.8 MiB  1041K/s 00:03 [########################################################################] 100%
     multilib                                                                                      126.5 KiB  12.4M/s 00:00 [########################################################################] 100%
     antergos                                                                                      476.9 KiB   727K/s 00:01 [########################################################################] 100%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for conflicting packages...
    

    system upgrade progressing nicely. Can/will this be replaced with a ‘regular’ mirrorlist without experiencing the same error messages as already posted herein?

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • You can replace your mirrorlist at anytime. The best mirrors is subjective to each system and depends on several variables. The best mirrors for me (best=fastest-latest) will not necessarily be the same for you. Reflector is an easy way to generate a list tailored to your system. How often you should do it will vary. Sometimes I go months without generating a new one and then others I have to do it multiple times in a month. Basically if you are noticing that your package downloads are slow or have failures that means its time to generate a new list ;-)

  • Thank you both for your assistance. Solved.

    Download " antergos-wallpapers-extra " and enjoy community sponsored wallpapers.

    Use the "Linux Beginner Search Engine"

    https://cse.google.com/cse/home?cx=017607476515012185699:b_owgx6xyi0

  • @Modisc said:

    …system upgrade progressing nicely…

    It could seem strange, but generally we’re trying to provide suggestions that might be useful :laughing: .

    Oh, the last thing. Your /etc/pacman.conf file looks very good. It’s OK.

Posts 16Views 19921
Log in to reply