You are not logged in.

#1 2021-07-19 14:02:40

aashu
Member
Registered: 2021-07-19
Posts: 1

[solved]Pacman error while upgrading

running pacman -Syu --debug produces following output:

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: chomp
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 79: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 82: including /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 88: 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: 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: 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
:: Synchronizing package databases...
debug: got error 22 at alpm_db_update (../lib/libalpm/be_sync.c: 176) : no servers configured for repository
debug: failed to sync dbs: no servers configured for repository
error: failed to synchronize all databases (no servers configured for repository)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'

here is

ls -l /var/lib/pacman/sync 

output

total 41732
-rw-r--r-- 1 root root  5870193 Jul 19 08:38 community.db
-rw-r--r-- 1 root root 24255061 Jun  9 08:15 community.files
-rw-r--r-- 1 root root   136739 Jul 18 18:54 core.db
-rw-r--r-- 1 root root   923682 Jun  9 01:25 core.files
-rw-r--r-- 1 root root  1603753 Jul 19 08:38 extra.db
-rw-r--r-- 1 root root       59 Jun  3 11:28 extra.db.part.aria2
-rw-r--r-- 1 root root  9772151 Jun  9 00:48 extra.files
-rw-r--r-- 1 root root   153408 Jun 10 06:02 multilib.db

As it seems to me, that i am missing those *.db.sig files. But I dont know how to solve it. Please help.

Edit: it was due to reflector failed to update mirrorlist, restarting it fixed the issue.

Last edited by aashu (2021-07-19 19:07:14)

Offline

#2 2021-07-19 14:15:57

seth
Member
Registered: 2012-09-03
Posts: 22,358

Re: [solved]Pacman error while upgrading

error: failed to synchronize all databases (no servers configured for repository)

Offline

Board footer

Powered by FluxBB