You are not logged in.

#1 2022-06-28 00:39:57

zerophase
Member
Registered: 2015-09-03
Posts: 229

[SOLVED] invalid or corrupted package (PGP signature)

In the last two posts I tried pretty much everything to get the PGP signature working again. so far, nothing seems to work. Even cleared my cache.


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                               156.4 KiB   451 KiB/s 00:00 [-----------------------------------] 100%
 extra                             1717.9 KiB  1580 KiB/s 00:01 [-----------------------------------] 100%
 community                            6.7 MiB  2.70 MiB/s 00:02 [-----------------------------------] 100%
 multilib                           170.3 KiB   510 KiB/s 00:00 [-----------------------------------] 100%
 quarry is up to date
 sublime-text is up to date
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

pacman-conf:

[options]
RootDir = /
DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
HookDir = /etc/pacman.d/hooks/
GPGDir = /etc/pacman.d/gnupg/
LogFile = /var/log/pacman.log
HoldPkg = pacman
HoldPkg = glibc
IgnorePkg = ruby-unicorn-engine
IgnorePkg = unreal-engine
IgnorePkg = intellij-idea-ultimate-edition
IgnorePkg = ttf-ms-win10
IgnorePkg = anki
NoExtract = usr/share/help/*
NoExtract = !usr/share/help/en*
NoExtract = !usr/share/help/C
NoExtract = !usr/share/locale/*
NoExtract = !usr/share/X11/locale/*
NoExtract = !usr/share/i18n/locales/*
NoExtract = opt/google/chrome/locales/*
NoExtract = !*locale*/en*
NoExtract = !usr/share/*locale*/locale.*
NoExtract = !usr/share/*locales/i18n
NoExtract = !usr/share/*locales/iso*
NoExtract = !usr/share/*locales/trans*
NoExtract = !usr/share/i18n/locales/i18n_ctype
NoExtract = usr/share/man/*
NoExtract = !usr/share/man/man*
Architecture = x86_64
Color
CheckSpace
ILoveCandy
ParallelDownloads = 20
CleanMethod = KeepInstalled
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
LocalFileSigLevel = PackageOptional
LocalFileSigLevel = PackageTrustedOnly
[core]
Usage = All
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
Server = http://mirrors.rutgers.edu/archlinux/core/os/x86_64
[extra]
Usage = All
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
Server = http://mirrors.rutgers.edu/archlinux/extra/os/x86_64
[community]
Usage = All
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
Server = http://mirrors.rutgers.edu/archlinux/community/os/x86_64
[multilib]
Usage = All
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
Server = http://mirrors.rutgers.edu/archlinux/multilib/os/x86_64
[quarry]
Usage = All
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
Server = http://pkgbuild.com/~anatolik/quarry/x86_64/
[sublime-text]
Usage = All
Server = https://download.sublimetext.com/arch/dev/x86_64

I tried running reflector, and changing the servers used.

Pretty much everything here, other than disabling signature checking was tried.

Any idea?

Last edited by zerophase (2022-06-28 03:01:50)

Offline

#2 2022-06-28 01:03:35

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: [SOLVED] invalid or corrupted package (PGP signature)

What is the output of

pacman -Syu --debug

Offline

#3 2022-06-28 01:58:13

zerophase
Member
Registered: 2015-09-03
Posts: 229

Re: [SOLVED] invalid or corrupted package (PGP signature)

debug: pacman v6.0.1 - libalpm v13.0.1
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: Architecture: auto
debug: config: arch: x86_64
debug: config: IgnorePkg: ruby-unicorn-engine
debug: config: IgnorePkg: unreal-engine
debug: config: IgnorePkg: intellij-idea-ultimate-edition
debug: config: IgnorePkg: ttf-ms-win10
debug: config: IgnorePkg: anki
debug: config: NoExtract: usr/share/help/*
debug: config: NoExtract: !usr/share/help/en*
debug: config: NoExtract: !usr/share/help/C
debug: config: NoExtract: !usr/share/locale/*
debug: config: NoExtract: !usr/share/X11/locale/*
debug: config: NoExtract: !usr/share/i18n/locales/*
debug: config: NoExtract: opt/google/chrome/locales/*
debug: config: NoExtract: !*locale*/en*
debug: config: NoExtract: !usr/share/*locale*/locale.*
debug: config: NoExtract: !usr/share/*locales/i18n
debug: config: NoExtract: !usr/share/*locales/iso*
debug: config: NoExtract: !usr/share/*locales/trans*
debug: config: NoExtract: !usr/share/i18n/locales/i18n_ctype
debug: config: NoExtract: usr/share/man/*
debug: config: NoExtract: !usr/share/man/man*
debug: config: chomp
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 82: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 86: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: new section 'multilib'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 103: including /etc/pacman.d/mirrorlist
debug: config: new section 'quarry'
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: new section 'sublime-text'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'hookdir' = /etc/pacman.d/hooks/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: GPGME version: 1.17.1
debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/
debug: checking signature for /var/lib/pacman/sync/core.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig (../lib/libalpm/signing.c: 774) : gpgme error
debug: signature check failed
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': http://mirrors.rutgers.edu/archlinux/core/os/x86_64
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: checking signature for /var/lib/pacman/sync/extra.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig (../lib/libalpm/signing.c: 774) : gpgme error
debug: signature check failed
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': http://mirrors.rutgers.edu/archlinux/extra/os/x86_64
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: checking signature for /var/lib/pacman/sync/community.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig (../lib/libalpm/signing.c: 774) : gpgme error
debug: signature check failed
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': http://mirrors.rutgers.edu/archlinux/community/os/x86_64
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: checking signature for /var/lib/pacman/sync/multilib.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig (../lib/libalpm/signing.c: 774) : gpgme error
debug: signature check failed
debug: setting usage of 15 for multilib repository
debug: adding new server URL to database 'multilib': http://mirrors.rutgers.edu/archlinux/multilib/os/x86_64
debug: registering sync database 'quarry'
debug: database path for tree quarry set to /var/lib/pacman/sync/quarry.db
debug: checking signature for /var/lib/pacman/sync/quarry.db
debug: 1 signatures returned
debug: fingerprint: 8E1992167465DB5FB045557CB02854ED753E0F1F
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1644697911
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: 8E1992167465DB5FB045557CB02854ED753E0F1F, Anatol Pomozov (Arch Linux developer account) <anatolik@archlinux.org>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: setting usage of 15 for quarry repository
debug: adding new server URL to database 'quarry': http://pkgbuild.com/~anatolik/quarry/x86_64
debug: registering sync database 'sublime-text'
debug: database path for tree sublime-text set to /var/lib/pacman/sync/sublime-text.db
debug: checking signature for /var/lib/pacman/sync/sublime-text.db
debug: 1 signatures returned
debug: fingerprint: E35979B896E997256457C632F57D4F59BD3DF454
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1654814010
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: 1EDDE2CDFC025D17F6DA9EC0ADAE6AD28A8F901A, Sublime HQ Pty Ltd <support@sublimetext.com>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: setting usage of 15 for sublime-text repository
debug: adding new server URL to database 'sublime-text': https://download.sublimetext.com/arch/dev/x86_64
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
 quarry downloading...
 sublime-text downloading...
debug: core.db: url is http://mirrors.rutgers.edu/archlinux/core/os/x86_64/core.db
debug: core.db: maxsize 134217728
debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: extra.db: url is http://mirrors.rutgers.edu/archlinux/extra/os/x86_64/extra.db
debug: extra.db: maxsize 134217728
debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: community.db: url is http://mirrors.rutgers.edu/archlinux/community/os/x86_64/community.db
debug: community.db: maxsize 134217728
debug: community.db: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: multilib.db: url is http://mirrors.rutgers.edu/archlinux/multilib/os/x86_64/multilib.db
debug: multilib.db: maxsize 134217728
debug: multilib.db: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
debug: quarry.db: url is http://pkgbuild.com/~anatolik/quarry/x86_64/quarry.db
debug: quarry.db: maxsize 134217728
debug: quarry.db: using time condition 1644697911
debug: quarry.db: opened tempfile for download: /var/lib/pacman/sync/quarry.db.part (wb)
debug: sublime-text.db: url is https://download.sublimetext.com/arch/dev/x86_64/sublime-text.db
debug: sublime-text.db: maxsize 134217728
debug: sublime-text.db: using time condition 1654814010
debug: sublime-text.db: opened tempfile for download: /var/lib/pacman/sync/sublime-text.db.part (wb)
debug: sublime-text.db: curl returned result 0 from transfer
debug: sublime-text.db: response code 304
debug: sublime-text.db.sig: url is https://download.sublimetext.com/arch/dev/x86_64/sublime-text.db.sig
debug: sublime-text.db.sig: maxsize 16384
debug: sublime-text.db.sig: using time condition 1654814010
debug: sublime-text.db.sig: opened tempfile for download: /var/lib/pacman/sync/sublime-text.db.sig.part (wb)
debug: sublime-text.db: file met time condition
debug: sublime-text.db.sig: curl returned result 0 from transfer
debug: sublime-text.db.sig: response code 304
debug: sublime-text.db.sig: file met time condition
debug: core.db: curl returned result 0 from transfer
debug: core.db: response code 200
debug: core.db.sig: url is http://mirrors.rutgers.edu/archlinux/core/os/x86_64/core.db.sig
debug: core.db.sig: maxsize 16384
debug: core.db.sig: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: multilib.db: curl returned result 0 from transfer
debug: multilib.db: response code 200
debug: multilib.db.sig: url is http://mirrors.rutgers.edu/archlinux/multilib/os/x86_64/multilib.db.sig
debug: multilib.db.sig: maxsize 16384
debug: multilib.db.sig: opened tempfile for download: /var/lib/pacman/sync/multilib.db.sig.part (wb)
debug: core.db.sig: curl returned result 0 from transfer
debug: core.db.sig: response code 404
debug: core.db.sig: no more servers to retry
debug: multilib.db.sig: curl returned result 0 from transfer
debug: multilib.db.sig: response code 404
debug: multilib.db.sig: no more servers to retry
debug: extra.db: curl returned result 0 from transfer
debug: extra.db: response code 200
debug: extra.db.sig: url is http://mirrors.rutgers.edu/archlinux/extra/os/x86_64/extra.db.sig
debug: extra.db.sig: maxsize 16384
debug: extra.db.sig: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: quarry.db: curl returned result 0 from transfer
debug: quarry.db: response code 304
debug: quarry.db.sig: url is https://pkgbuild.com/~anatolik/quarry/x86_64/quarry.db.sig
debug: quarry.db.sig: maxsize 16384
debug: quarry.db.sig: using time condition 1644697911
debug: quarry.db.sig: opened tempfile for download: /var/lib/pacman/sync/quarry.db.sig.part (wb)
debug: quarry.db: file met time condition
debug: extra.db.sig: curl returned result 0 from transfer
debug: extra.db.sig: response code 404
debug: extra.db.sig: no more servers to retry
debug: quarry.db.sig: curl returned result 0 from transfer
debug: quarry.db.sig: response code 304
debug: quarry.db.sig: file met time condition
debug: community.db: curl returned result 0 from transfer
debug: community.db: response code 200
debug: community.db.sig: url is http://mirrors.rutgers.edu/archlinux/community/os/x86_64/community.db.sig
debug: community.db.sig: maxsize 16384
debug: community.db.sig: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb)
debug: community.db.sig: curl returned result 0 from transfer
debug: community.db.sig: response code 404
debug: community.db.sig: no more servers to retry
debug: curl_download_internal return code is 0
debug: checking signature for /var/lib/pacman/sync/core.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig (../lib/libalpm/signing.c: 774) : gpgme error
debug: signature check failed
debug: failed to validate db: core
debug: checking signature for /var/lib/pacman/sync/extra.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig (../lib/libalpm/signing.c: 774) : gpgme error
debug: signature check failed
debug: failed to validate db: extra
debug: checking signature for /var/lib/pacman/sync/community.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig (../lib/libalpm/signing.c: 774) : gpgme error
debug: signature check failed
debug: failed to validate db: community
debug: checking signature for /var/lib/pacman/sync/multilib.db
error: GPGME error: No data
debug: returning error 53 from _alpm_gpgme_checksig (../lib/libalpm/signing.c: 774) : gpgme error
debug: signature check failed
debug: failed to validate db: multilib
debug: checking signature for /var/lib/pacman/sync/quarry.db
debug: 1 signatures returned
debug: fingerprint: 8E1992167465DB5FB045557CB02854ED753E0F1F
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1644697911
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: 8E1992167465DB5FB045557CB02854ED753E0F1F, Anatol Pomozov (Arch Linux developer account) <anatolik@archlinux.org>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: checking signature for /var/lib/pacman/sync/sublime-text.db
debug: 1 signatures returned
debug: fingerprint: E35979B896E997256457C632F57D4F59BD3DF454
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1654814010
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: 1EDDE2CDFC025D17F6DA9EC0ADAE6AD28A8F901A, Sublime HQ Pty Ltd <support@sublimetext.com>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: failed to sync dbs: invalid or corrupted database (PGP signature)
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
debug: unregistering database 'quarry'
debug: unregistering database 'sublime-text'

Offline

#4 2022-06-28 02:20:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: [SOLVED] invalid or corrupted package (PGP signature)

delete any .sig or .sig.part files for the official repos you have in /var/lib/pacman/sync/

Offline

#5 2022-06-28 03:01:25

zerophase
Member
Registered: 2015-09-03
Posts: 229

Re: [SOLVED] invalid or corrupted package (PGP signature)

That worked. Thanks.

Offline

#6 2022-06-28 09:28:10

zerophase
Member
Registered: 2015-09-03
Posts: 229

Re: [SOLVED] invalid or corrupted package (PGP signature)

Looks like one of the commonly used mirrors has a corrupted database. As soon as I ran reflector again the issue came back.

Offline

Board footer

Powered by FluxBB