You are not logged in.
Pages: 1
I suddenly started getting a problem updating my distro and am unclear as to why it happened or best way to fix, anyone have any suggestions on best way to fix or debug?
Running:
sudo pacman -Syu --debug
First error appears to be:
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
full output:
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: verbosepkglists
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 77: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 86: including /etc/pacman.d/mirrorlist
debug: config: new section 'options'
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: 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://geo.mirror.pkgbuild.com/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.rackspace.com/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.leaseweb.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://geo.mirror.pkgbuild.com/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.rackspace.com/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.leaseweb.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: "/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: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://geo.mirror.pkgbuild.com/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.rackspace.com/archlinux/ … /os/x86_64
debug: adding new server URL to database 'community': https://mirror.leaseweb.net/archlinux/c … /os/x86_64
:: Synchronizing package databases...
core downloading...
extra downloading...
community downloading...
debug: core.db: url is https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db
debug: core.db: maxsize 134217728
debug: core.db: using time condition 1703358694
debug: core.db: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: extra.db: url is https://geo.mirror.pkgbuild.com/extra/o … 4/extra.db
debug: extra.db: maxsize 134217728
debug: extra.db: using time condition 1703362330
debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: community.db: url is https://geo.mirror.pkgbuild.com/communi … mmunity.db
debug: community.db: maxsize 134217728
debug: community.db: using time condition 1684576230
debug: community.db: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
debug: core.db: curl returned result 77 from transfer
error: failed retrieving file 'core.db' from geo.mirror.pkgbuild.com : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
debug: extra.db: curl returned result 77 from transfer
error: failed retrieving file 'extra.db' from geo.mirror.pkgbuild.com : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
debug: community.db: curl returned result 77 from transfer
error: failed retrieving file 'community.db' from geo.mirror.pkgbuild.com : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
warning: too many errors from geo.mirror.pkgbuild.com, skipping for the remainder of this transaction
debug: core.db: curl returned result 77 from transfer
error: failed retrieving file 'core.db' from mirror.rackspace.com : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
debug: extra.db: curl returned result 77 from transfer
error: failed retrieving file 'extra.db' from mirror.rackspace.com : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
debug: community.db: curl returned result 77 from transfer
error: failed retrieving file 'community.db' from mirror.rackspace.com : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
warning: too many errors from mirror.rackspace.com, skipping for the remainder of this transaction
debug: core.db: curl returned result 77 from transfer
error: failed retrieving file 'core.db' from mirror.leaseweb.net : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
debug: core.db: no more servers to retry
debug: extra.db: curl returned result 77 from transfer
error: failed retrieving file 'extra.db' from mirror.leaseweb.net : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
debug: extra.db: no more servers to retry
debug: community.db: curl returned result 77 from transfer
error: failed retrieving file 'community.db' from mirror.leaseweb.net : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
warning: too many errors from mirror.leaseweb.net, skipping for the remainder of this transaction
debug: community.db: no more servers to retry
debug: curl_download_internal return code is -1
debug: failed to sync dbs: download library error
error: failed to synchronize all databases (download library error)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
Offline
Note that [community] is now empty: https://bbs.archlinux.org/viewtopic.php?id=285835
First error appears to be:
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
That's not important. Pacman can accept signed databases but Arch Linux does not use them. The signing is optional, as indicated by:
debug: missing optional signature
I think this error is relevant:
error: failed retrieving file 'core.db' from geo.mirror.pkgbuild.com : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
Have you checked that file? It is supplied by the ca-certificates-utils package.
And please edit your post to use code tags for the terminal output, as I have done above. Thanks.
Jin, Jîyan, Azadî
Offline
Mod note: not an installation issue, moving to NC.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
The file:
/etc/ca-certificates/extracted/tls-ca-bundle.pemwas corrupted (0 length) so I repaired it from a current image and that fixed the issue.
Offline
Pages: 1