You are not logged in.

#1 2021-08-30 14:47:11

now-im
Member
Registered: 2018-02-14
Posts: 19

[Solved] GPGME error: No data in one mirror while other works fine

While I try to upgrade using the following mirror:

Server = http://mirror.xeonbd.com/archlinux/$repo/os/$arch

I get these errors:

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))

After that if I change mirror the same error occurs. I delete the Pacman Sync to pull database again.

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

After that, change the mirror to:

Server = https://asia.mirror.pkgbuild.com/$repo/os/$arch

Upgrade works once again. The first mirror is the fastest one available to. I want to use that. Any ideas?

Last edited by now-im (2021-09-01 13:33:18)

Offline

#2 2021-08-30 15:01:31

Scimmia
Fellow
Registered: 2012-09-01
Posts: 8,683

Re: [Solved] GPGME error: No data in one mirror while other works fine

Use pacman's --debug option and post the whole log, using code tags.

Offline

#3 2021-08-30 16:33:13

now-im
Member
Registered: 2018-02-14
Posts: 19

Re: [Solved] GPGME error: No data in one mirror while other works fine

Scimmia wrote:

Use pacman's --debug option and post the whole log, using code tags.

With the first mirror:

sudo pacman -Syyu --debug
debug: pacman v6.0.0 - libalpm v13.0.0
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: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: 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 '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: 593) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': [url]http://mirror.xeonbd.com/archlinux/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://asia.mirror.pkgbuild.com/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]http://phinau.de/arch/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]http://mirror.f4st.host/archlinux/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://archlinux.thaller.ws/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]http://mirror.telepoint.bg/archlinux/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://mirror.telepoint.bg/archlinux/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]http://mirror.chaoticum.net/arch/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://mirror.chaoticum.net/arch/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://mirror.pseudoform.org/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://mirror.pkgbuild.com/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://phinau.de/arch/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]http://mirror.cspacehostings.com/archlinux/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://mirror.cspacehostings.com/archlinux/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://europe.mirror.pkgbuild.com/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://america.mirror.pkgbuild.com/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://mirrors.n-ix.net/archlinux/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://mirror.f4st.host/archlinux/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]http://arch.mirror.square-r00t.net/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://arch.mirror.square-r00t.net/core/os/x86_64[/url]
debug: adding new server URL to database 'core': [url]https://archmirror.it/repos/core/os/x86_64[/url]
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: 593) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': [url]http://mirror.xeonbd.com/archlinux/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://asia.mirror.pkgbuild.com/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]http://phinau.de/arch/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]http://mirror.f4st.host/archlinux/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://archlinux.thaller.ws/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]http://mirror.telepoint.bg/archlinux/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://mirror.telepoint.bg/archlinux/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]http://mirror.chaoticum.net/arch/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://mirror.chaoticum.net/arch/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://mirror.pseudoform.org/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://mirror.pkgbuild.com/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://phinau.de/arch/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]http://mirror.cspacehostings.com/archlinux/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://mirror.cspacehostings.com/archlinux/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://europe.mirror.pkgbuild.com/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://america.mirror.pkgbuild.com/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://mirrors.n-ix.net/archlinux/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://mirror.f4st.host/archlinux/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]http://arch.mirror.square-r00t.net/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://arch.mirror.square-r00t.net/extra/os/x86_64[/url]
debug: adding new server URL to database 'extra': [url]https://archmirror.it/repos/extra/os/x86_64[/url]
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: got error 43 at _alpm_gpgme_checksig (../lib/libalpm/signing.c: 593) : missing PGP signature
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': [url]http://mirror.xeonbd.com/archlinux/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://asia.mirror.pkgbuild.com/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]http://phinau.de/arch/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]http://mirror.f4st.host/archlinux/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://archlinux.thaller.ws/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]http://mirror.telepoint.bg/archlinux/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://mirror.telepoint.bg/archlinux/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]http://mirror.chaoticum.net/arch/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://mirror.chaoticum.net/arch/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://mirror.pseudoform.org/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://mirror.pkgbuild.com/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://phinau.de/arch/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]http://mirror.cspacehostings.com/archlinux/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://mirror.cspacehostings.com/archlinux/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://europe.mirror.pkgbuild.com/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://america.mirror.pkgbuild.com/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://mirrors.n-ix.net/archlinux/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://mirror.f4st.host/archlinux/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]http://arch.mirror.square-r00t.net/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://arch.mirror.square-r00t.net/community/os/x86_64[/url]
debug: adding new server URL to database 'community': [url]https://archmirror.it/repos/community/os/x86_64[/url]
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
debug: core.db: url is [url]http://mirror.xeonbd.com/archlinux/core/os/x86_64/core.db[/url]
debug: core.db: maxsize 134217728
debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: core.db: curl returned result 0 from transfer
debug: core.db: response code 200
debug: core.db.sig: url is [url]http://mirror.xeonbd.com/archlinux/core/os/x86_64/core.db.sig[/url]
debug: core.db.sig: maxsize 16384
debug: core.db.sig: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: core.db.sig: curl returned result 0 from transfer
debug: core.db.sig: response code 200
debug: extra.db: url is [url]http://mirror.xeonbd.com/archlinux/extra/os/x86_64/extra.db[/url]
debug: extra.db: maxsize 134217728
debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: extra.db: curl returned result 0 from transfer
debug: extra.db: response code 200
debug: extra.db.sig: url is [url]http://mirror.xeonbd.com/archlinux/extra/os/x86_64/extra.db.sig[/url]
debug: extra.db.sig: maxsize 16384
debug: extra.db.sig: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: extra.db.sig: curl returned result 0 from transfer
debug: extra.db.sig: response code 200
debug: community.db: url is [url]http://mirror.xeonbd.com/archlinux/community/os/x86_64/community.db[/url]
debug: community.db: maxsize 134217728
debug: community.db: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: community.db: curl returned result 0 from transfer
debug: community.db: response code 200
debug: community.db.sig: url is [url]http://mirror.xeonbd.com/archlinux/community/os/x86_64/community.db.sig[/url]
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 200
debug: curl_download_internal return code is 0
debug: GPGME version: 1.16.0
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: 768) : 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: 768) : 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: 768) : gpgme error
debug: signature check failed
debug: failed to validate db: community
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'

Last edited by now-im (2021-08-30 17:21:02)

Offline

#4 2021-08-30 16:51:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 14,057

Re: [Solved] GPGME error: No data in one mirror while other works fine

As has been asked please use code tags: https://bbs.archlinux.org/help.php#bbcode

Offline

#5 2021-08-30 17:09:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 8,683

Re: [Solved] GPGME error: No data in one mirror while other works fine

So curl is actually downloading something when it should be getting 404s for the .sig files. Are you using an http proxy or something? What's in /var/lib/pacman/sync/core.db.sig?

Offline

#6 2021-08-30 17:21:50

now-im
Member
Registered: 2018-02-14
Posts: 19

Re: [Solved] GPGME error: No data in one mirror while other works fine

V1del wrote:

As has been asked please use code tags: https://bbs.archlinux.org/help.php#bbcode

Sorry, missed it at first.

Offline

#7 2021-08-30 17:23:37

now-im
Member
Registered: 2018-02-14
Posts: 19

Re: [Solved] GPGME error: No data in one mirror while other works fine

Scimmia wrote:

So curl is actually downloading something when it should be getting 404s for the .sig files. Are you using an http proxy or something? What's in /var/lib/pacman/sync/core.db.sig?

<!DOCTYPE html>

<html>
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
                <title>Redirecting...</title>
        </head>
        <body onload="window.location = 'get?du=http%3A%2F%2Fmirror.xeonbd.com%2Farchlinux%2Fcore%2Fos%2Fx86_64%2Fcore.db.sig'">                
        </body>
</html>

I am not using any proxy. I use cloudflare DNS though, but the problem is very recent. Likewise, I have been using the mirror for more than a year.

Last edited by now-im (2021-08-30 17:32:08)

Offline

#8 2021-09-01 13:35:02

now-im
Member
Registered: 2018-02-14
Posts: 19

Re: [Solved] GPGME error: No data in one mirror while other works fine

Problem is solved. I was away and didn't have wifi connection and using Mobile Network. As soon as I connected Wifi network, my problem is solved.

Offline

#9 2021-09-01 14:57:13

progandy
Member
Registered: 2012-05-17
Posts: 4,556

Re: [Solved] GPGME error: No data in one mirror while other works fine

Apparently the mobile network forces some kind of proxy on unencrypted http connections, while encrypted https bypassed that problem.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#10 2021-09-01 15:46:40

now-im
Member
Registered: 2018-02-14
Posts: 19

Re: [Solved] GPGME error: No data in one mirror while other works fine

progandy wrote:

Apparently the mobile network forces some kind of proxy on unencrypted http connections, while encrypted https bypassed that problem.

Thanks for explaining. I was puzzled.

Offline

Board footer

Powered by FluxBB