Error: GPGME error: No data

Hello everybody, I’m at at a loss here. Tried almost everything like updating and changing mirrors, reinstalling the keyring, but nothing seems to work.

This is the debug:

❯ sudo pacman -Syu --debug
debug: pacman v6.0.2 - libalpm v13.0.2
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: chomp
debug: config: verbosepkglists
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'endeavouros'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 77: including /etc/pacman.d/endeavouros-mirrorlist
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 83: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 86: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 92: including /etc/pacman.d/mirrorlist
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 101: including /etc/pacman.d/mirrorlist
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 'endeavouros'
debug: database path for tree endeavouros set to /var/lib/pacman/sync/endeavouros.db
debug: "/var/lib/pacman/sync/endeavouros.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/endeavouros.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for endeavouros repository
debug: adding new server URL to database 'endeavouros': https://mirror.moson.org/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://de.freedif.org/EndeavourOS/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://endeavour.remi.lu/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://ftp.belnet.be/mirror/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirror.alpix.eu/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://ftp.acc.umu.se/mirror/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://md.mirrors.hacktegic.com/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://fosszone.csd.auth.gr/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://ca.gate.endeavouros.com/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirror.albony.xyz/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirrors.gigenet.com/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirrors.nxtgen.com/endeavouros-mirror/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirror.jingk.ai/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirror.freedif.org/EndeavourOS/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://fastmirror.pp.ua/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirror.funami.tech/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirror.archlinux.tw/EndeavourOS/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirrors.jlu.edu.cn/endeavouros/repo/endeavouros/x86_64
debug: adding new server URL to database 'endeavouros': https://mirror.sjtu.edu.cn/endeavouros/repo/endeavouros/x86_64
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirror.i3d.net/pub/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.lyrahosting.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirrors.xtom.nl/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.ams1.nl.leaseweb.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.mijn.host/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://nl.mirror.flokinet.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://archlinux.mirror.wearetriple.com/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.koddos.net/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: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirror.i3d.net/pub/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.lyrahosting.com/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirrors.xtom.nl/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.ams1.nl.leaseweb.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.mijn.host/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://nl.mirror.flokinet.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://archlinux.mirror.wearetriple.com/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.koddos.net/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: GPGME version: 1.23.1
debug: GPGME engine info: file=/usr/bin/gpg, home=/etc/pacman.d/gnupg/
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: 778) : gpgme error
debug: signature check failed
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://mirror.i3d.net/pub/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.lyrahosting.com/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirrors.xtom.nl/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.ams1.nl.leaseweb.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.mijn.host/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://nl.mirror.flokinet.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://archlinux.mirror.wearetriple.com/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.koddos.net/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: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for multilib repository
debug: adding new server URL to database 'multilib': https://mirror.i3d.net/pub/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://mirror.lyrahosting.com/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://mirrors.xtom.nl/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://mirror.ams1.nl.leaseweb.net/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://mirror.mijn.host/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://nl.mirror.flokinet.net/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://archlinux.mirror.wearetriple.com/multilib/os/x86_64
debug: adding new server URL to database 'multilib': https://mirror.koddos.net/archlinux/multilib/os/x86_64
:: Synchronizing package databases...
 endeavouros downloading...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
debug: endeavouros.db: url is https://mirror.moson.org/endeavouros/repo/endeavouros/x86_64/endeavouros.db
debug: endeavouros.db: maxsize 134217728
debug: endeavouros.db: using time condition 1699285624
debug: endeavouros.db: opened tempfile for download: /var/lib/pacman/sync/endeavouros.db.part (wb)
debug: core.db: url is https://mirror.i3d.net/pub/archlinux/core/os/x86_64/core.db
debug: core.db: maxsize 134217728
debug: core.db: using time condition 1698885192
debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: extra.db: url is https://mirror.i3d.net/pub/archlinux/extra/os/x86_64/extra.db
debug: extra.db: maxsize 134217728
debug: extra.db: using time condition 1698954059
debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: community.db: url is https://mirror.i3d.net/pub/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 https://mirror.i3d.net/pub/archlinux/multilib/os/x86_64/multilib.db
debug: multilib.db: maxsize 134217728
debug: multilib.db: using time condition 1699026669
debug: multilib.db: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
debug: endeavouros.db: curl returned result 0 from transfer
debug: endeavouros.db: response code 304
debug: endeavouros.db.sig: url is https://mirror.moson.org/endeavouros/repo/endeavouros/x86_64/endeavouros.db.sig
debug: endeavouros.db.sig: maxsize 16384
debug: endeavouros.db.sig: opened tempfile for download: /var/lib/pacman/sync/endeavouros.db.sig.part (wb)
debug: endeavouros.db: file met time condition
debug: endeavouros.db.sig: curl returned result 0 from transfer
debug: endeavouros.db.sig: response code 404
debug: endeavouros.db.sig: no more servers to retry
debug: core.db: curl returned result 0 from transfer
debug: core.db: response code 304
debug: core.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: url is https://nlrtm1-edge1.cdn.i3d.net/o1/k9999/pub/archlinux/core/os/x86_64/core.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig
debug: core.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: maxsize 16384
debug: core.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: opened tempfile for download: /var/lib/pacman/sync/core.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig.part (wb)
debug: core.db: file met time condition
debug: extra.db: curl returned result 0 from transfer
debug: extra.db: response code 304
debug: extra.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: url is https://nlrtm1-edge1.cdn.i3d.net/o1/k9999/pub/archlinux/extra/os/x86_64/extra.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig
debug: extra.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: maxsize 16384
debug: extra.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: opened tempfile for download: /var/lib/pacman/sync/extra.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig.part (wb)
debug: extra.db: file met time condition
debug: community.db: curl returned result 0 from transfer
debug: community.db: response code 200
debug: community.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: url is https://nlrtm1-edge1.cdn.i3d.net/o1/k9999/pub/archlinux/community/os/x86_64/community.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig
debug: community.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: maxsize 16384
debug: community.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: opened tempfile for download: /var/lib/pacman/sync/community.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig.part (wb)
debug: multilib.db: curl returned result 0 from transfer
debug: multilib.db: response code 304
debug: multilib.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: url is https://nlrtm1-edge1.cdn.i3d.net/o1/k9999/pub/archlinux/multilib/os/x86_64/multilib.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig
debug: multilib.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: maxsize 16384
debug: multilib.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: opened tempfile for download: /var/lib/pacman/sync/multilib.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig.part (wb)
debug: multilib.db: file met time condition
debug: core.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: curl returned result 63 from transfer
debug: failed retrieving file 'core.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig' from nlrtm1-edge1.cdn.i3d.net : Maximum file size exceeded
debug: core.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: no more servers to retry
debug: extra.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: curl returned result 63 from transfer
debug: failed retrieving file 'extra.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig' from nlrtm1-edge1.cdn.i3d.net : Maximum file size exceeded
debug: extra.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: no more servers to retry
debug: community.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: curl returned result 0 from transfer
debug: community.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: response code 200
debug: multilib.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: curl returned result 63 from transfer
debug: failed retrieving file 'multilib.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig' from nlrtm1-edge1.cdn.i3d.net : Maximum file size exceeded
debug: multilib.db?nonce=MTY5OTM3MDQ5Mg%3D%3D.sig: no more servers to retry
debug: curl_download_internal return code is 0
debug: "/var/lib/pacman/sync/endeavouros.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/endeavouros.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
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: 778) : gpgme error
debug: signature check failed
debug: failed to validate db: community
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 603) : missing PGP signature
debug: missing optional signature
debug: failed to sync dbs: unexpected error
error: failed to synchronize all databases (unexpected error)
debug: unregistering database 'local'
debug: unregistering database 'endeavouros'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
╭─░▒▓      ~ ▓▒░··················································································································░▒▓ 1 ✘  16:21:32   ▓▒░─╮
╰─                                     

Try:

sudo rm -r /var/lib/pacman/sync/

and then:

sudo pacman -Syu

If you still get errors, post the whole output of the second command.

Edit:

registering sync database 'community'

The community repo does not exist anymore. Edit your /etc/pacman.conf and remove it.

Thanks Pebcak,

I already tried cleaning that dir, prior the command posted. That’s the output.
I removed the community repo, which seems to be working, thanks allot!

This is the output

-> alsa-card-profiles: local (1:0.3.84-1) is newer than extra (1:0.3.83-1)
 -> git: local (2.42.1-1) is newer than extra (2.42.0-1)
 -> gjs: local (2:1.78.0-3) is newer than extra (2:1.78.0-2)
 -> gssdp: local (1.6.3-1) is newer than extra (1.6.2-1)
 -> gst-plugin-pipewire: local (1:0.3.84-1) is newer than extra (1:0.3.83-1)
 -> gupnp: local (1:1.6.6-1) is newer than extra (1:1.6.5-1)
 -> haruna: local (0.12.2-1) is newer than extra (0.12.1-2)
 -> inxi: local (3.3.31.1-1) is newer than extra (3.3.30.1-2)
 -> iproute2: local (6.6.0-2) is newer than core (6.5.0-1)
 -> kirigami-addons5: local (0.11.0-6) is newer than extra (0.11.0-5)
 -> libgsf: local (1.14.51-1) is newer than extra (1.14.50-1)
 -> libheif: local (1.17.3-1) is newer than extra (1.17.1-1)
 -> libpipewire: local (1:0.3.84-1) is newer than extra (1:0.3.83-1)
 -> linux-firmware: local (20231030.2b304bfe-1) is newer than core (20230918.3672ccab-1)
 -> linux-firmware-whence: local (20231030.2b304bfe-1) is newer than core (20230918.3672ccab-1)
 -> phonon-qt5: local (4.12.0-3) is newer than extra (4.11.1-3)
 -> phonon-qt5-vlc: local (0.12.0-1) is newer than extra (0.11.3-2)
 -> pipewire: local (1:0.3.84-1) is newer than extra (1:0.3.83-1)
 -> pipewire-alsa: local (1:0.3.84-1) is newer than extra (1:0.3.83-1)
 -> pipewire-audio: local (1:0.3.84-1) is newer than extra (1:0.3.83-1)
 -> pipewire-jack: local (1:0.3.84-1) is newer than extra (1:0.3.83-1)
 -> pipewire-pulse: local (1:0.3.84-1) is newer than extra (1:0.3.83-1)
 -> qt6-base: local (6.6.0-3) is newer than extra (6.6.0-2)
 -> sdl2: local (2.28.5-1) is newer than extra (2.28.4-1)
 -> sof-firmware: local (2023.09.1-1) is newer than extra (2023.09-1)
 -> sqlite: local (3.44.0-1) is newer than core (3.43.2-1)
 -> thin-provisioning-tools: local (1.0.7-1) is newer than core (1.0.6-1)
 -> util-linux: local (2.39.2-2) is newer than core (2.39.2-1)
 -> util-linux-libs: local (2.39.2-2) is newer than core (2.39.2-1)
 -> xz: local (5.4.5-1) is newer than core (5.4.4-1)

I would try refreshing the mirrorlist and try sudo pacman -Syyu and see if these “newer than …” will be gone.