You are not logged in.

#1 2022-12-04 03:22:05

Neven
Member
Registered: 2014-05-02
Posts: 74

`pacman -Syu` failed consistently until osbeck.com mirror was removed

It seems there's something wrong in a weird way with this mirror:
https://archlinux.org/mirrors/osbeck.com/

Both `checkupdates` and `pacman -Syu` were consistently failing each time I ran them with such messages: `error: GPGME error: No data`.

Pacman log with `--debug`:

# rm /var/lib/pacman/sync/*
# 
# pacman --debug -Syu
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: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 79: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 85: 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" is not readable: No such file or directory
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirror.osbeck.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://archmirror.it/repos/core/os/x86_64
debug: adding new server URL to database 'core': https://archlinux.thaller.ws/core/os/x86_64
debug: adding new server URL to database 'core': http://archlinux.thaller.ws/core/os/x86_64
debug: adding new server URL to database 'core': https://at.arch.mirror.kescher.at/core/os/x86_64
debug: adding new server URL to database 'core': http://mirrors.xtom.de/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.jaime.sh/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirrors.xtom.de/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" is not readable: No such file or directory
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirror.osbeck.com/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://archmirror.it/repos/extra/os/x86_64
debug: adding new server URL to database 'extra': https://archlinux.thaller.ws/extra/os/x86_64
debug: adding new server URL to database 'extra': http://archlinux.thaller.ws/extra/os/x86_64
debug: adding new server URL to database 'extra': https://at.arch.mirror.kescher.at/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirrors.xtom.de/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.jaime.sh/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirrors.xtom.de/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: "/var/lib/pacman/sync/community.db" is not readable: No such file or directory
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://mirror.osbeck.com/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://archmirror.it/repos/community/os/x86_64
debug: adding new server URL to database 'community': https://archlinux.thaller.ws/community/os/x86_64
debug: adding new server URL to database 'community': http://archlinux.thaller.ws/community/os/x86_64
debug: adding new server URL to database 'community': https://at.arch.mirror.kescher.at/community/os/x86_64
debug: adding new server URL to database 'community': http://mirrors.xtom.de/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.jaime.sh/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirrors.xtom.de/archlinux/community/os/x86_64
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
debug: core.db: url is https://mirror.osbeck.com/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 https://mirror.osbeck.com/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 https://mirror.osbeck.com/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: core.db: curl returned result 0 from transfer
debug: core.db: response code 200
debug: core.db.sig: url is https://mirror.osbeck.com/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: core.db.sig: curl returned result 0 from transfer
debug: core.db.sig: response code 200
debug: extra.db: curl returned result 0 from transfer
debug: extra.db: response code 200
debug: extra.db.sig: url is https://mirror.osbeck.com/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: 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: community.db: curl returned result 0 from transfer
debug: community.db: response code 200
debug: community.db.sig: url is https://mirror.osbeck.com/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: GPGME version: 1.18.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: 778) : gpgme error
debug: signature check failed
debug: failed to validate db: core
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: "/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: 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 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
# 

Everything works as expected after deleting the osbeck.com mirror from my mirrorlist.

Last edited by Neven (2022-12-04 03:24:13)

Offline

#2 2022-12-04 03:59:08

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

Re: `pacman -Syu` failed consistently until osbeck.com mirror was removed

debug: core.db.sig: url is https://mirror.osbeck.com/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: core.db.sig: curl returned result 0 from transfer
debug: core.db.sig: response code 200
....
debug: GPGME version: 1.18.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: 778) : gpgme error
debug: signature check failed
debug: failed to validate db: core

The mirror contains core.db.sig which should not exist as the database files are not currently signed.  The database signature file which should not exist then fails to be validated.

Offline

Board footer

Powered by FluxBB