You are not logged in.

#1 2023-10-17 10:13:22

Turtyo
Member
Registered: 2023-03-26
Posts: 32

[SOLVED]Pacman stopped finding updates even when trying another mirror

Hello !

Since 3 days, pacman stopped finding updates after running sudo pacman -Syu. I also tried sudo pacman -Syyuu just in case but same result. Here is the actual output:

sudo pacman -Syyuu
[sudo] password for turtyo:
:: Synchronising package databases...
 core                                                        129.4 KiB   945 KiB/s 00:00 [---------------------------------------------------] 100%
 extra                                                         8.2 MiB  3.79 MiB/s 00:02 [---------------------------------------------------] 100%
:: Starting full system upgrade...
warning: python-numpy: downgrading from version 1.26.1-1 to version 1.26.0-3
resolving dependencies...
looking for conflicting packages...

Packages (1) python-numpy-1.26.0-3

Total Download Size:    7.06 MiB
Total Installed Size:  47.97 MiB
Net Upgrade Size:      -0.02 MiB

:: Proceed with installation? [Y/n]

I thought it was a problem of mirror, so I used reflector with:

 reflector -c france 

To get up to date mirrors that I would copy into /etc/pacman.d/mirrorlist, but this doesn't change the result (I saw reflector can directly write in the mirrorlist, I should probably do that instead of a copy).

The problem started 3 days ago, after I tried to do an update as usual, and I got an error message (that I can't find in /var/log/pacman.log), mentioning an RPC connection fail. Also, even though pacman doesn't find any update to do, I could still install reflector from the extra repository even after the error appeared.

I saw that using a VPN could be the cause of the RPC connection fail mentioned above, but I do not use one so the error doesn't come from here.

Thank you in advance for any help provided !

Last edited by Turtyo (2023-10-21 16:40:49)

Offline

#2 2023-10-19 18:11:57

impossibleveins23
Member
From: Israel
Registered: 2022-06-18
Posts: 171

Re: [SOLVED]Pacman stopped finding updates even when trying another mirror

Please pass the full log of the error.
Also try to:

mv /var/lib/pacman/sync{,.bkp} && pacman -Syu

* Good formatted problem description will cause good and quick solution smile
* Please don't forget to mark as [SOLVED].

Offline

#3 2023-10-19 20:06:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: [SOLVED]Pacman stopped finding updates even when trying another mirror

Notably the output of "pacman --debug -Syu", the symptoms sound like you configured https://wiki.archlinux.org/title/Arch_L … cific_date

Offline

#4 2023-10-20 11:30:38

Turtyo
Member
Registered: 2023-03-26
Posts: 32

Re: [SOLVED]Pacman stopped finding updates even when trying another mirror

For some unknown reason it seems to have fixed itself. I kept trying different servers using:

 reflector - c france -p https 

I think using https may have helped ?

And now I have updates since yesterday. For the RPC error I mentionned, I do not find it in pacman's log. Here is the output of "pacman --debug -Syu":

 sudo 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: chomp
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 77: including /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 83: 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: 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://arch.yourlabs.org/core/os/x86_64
debug: adding new server URL to database 'core': https://archlinux.mailtunnel.eu/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.wormhole.eu/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirrors.celianvdb.fr/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.thekinrar.fr/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.oldsql.cc/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.cyberbits.eu/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.sysa.tech/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirroir.wptheme.fr/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.ibakerserver.pt/Arch/core/os/x86_64
debug: adding new server URL to database 'core': https://mirrors.gandi.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.spaceint.fr/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://geo.mirror.pkgbuild.com/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://arch.yourlabs.org/extra/os/x86_64
debug: adding new server URL to database 'extra': https://archlinux.mailtunnel.eu/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.wormhole.eu/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirrors.celianvdb.fr/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.thekinrar.fr/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.oldsql.cc/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.cyberbits.eu/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.sysa.tech/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirroir.wptheme.fr/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.ibakerserver.pt/Arch/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirrors.gandi.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.spaceint.fr/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://geo.mirror.pkgbuild.com/extra/os/x86_64
:: Synchronising package databases...
 core downloading...
 extra downloading...
debug: core.db: url is https://arch.yourlabs.org/core/os/x86_64/core.db
debug: core.db: maxsize 134217728
debug: core.db: using time condition 1697788225
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 304
debug: core.db.sig: url is https://arch.yourlabs.org/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: file met time condition
debug: core.db.sig: curl returned result 0 from transfer
debug: core.db.sig: response code 404
debug: core.db.sig: no more servers to retry
debug: extra.db: url is https://arch.yourlabs.org/extra/os/x86_64/extra.db
debug: extra.db: maxsize 134217728
debug: extra.db: using time condition 1697794338
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 304
debug: extra.db.sig: url is https://arch.yourlabs.org/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: file met time condition
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: curl_download_internal return code is 0
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
:: Starting full system upgrade...
debug: checking for package upgrades
debug: loading package cache for repository 'local'
debug: added 1420 packages to package cache for db 'local'
debug: searching for replacements for a52dec in core
debug: loading package cache for repository 'core'
debug: opening archive /var/lib/pacman/sync/core.db
debug: added 263 packages to package cache for db 'core'
debug: searching for replacements for a52dec in extra
debug: loading package cache for repository 'extra'
debug: opening archive /var/lib/pacman/sync/extra.db
debug: added 13403 packages to package cache for db 'extra'
debug: searching for replacements for abseil-cpp in core
debug: searching for replacements for abseil-cpp in extra
debug: searching for replacements for accountsservice in core
debug: searching for replacements for accountsservice in extra
debug: searching for replacements for acl in core
debug: searching for replacements for adobe-source-code-pro-fonts in core
debug: searching for replacements for adobe-source-code-pro-fonts in extra
debug: searching for replacements for adobe-source-han-sans-kr-fonts in core
debug: searching for replacements for adobe-source-han-sans-kr-fonts in extra
debug: searching for replacements for adwaita-cursors in core
debug: searching for replacements for adwaita-cursors in extra
debug: searching for replacements for adwaita-icon-theme in core
debug: searching for replacements for adwaita-icon-theme in extra
debug: searching for replacements for agg-2.6-git in core
debug: searching for replacements for agg-2.6-git in extra
debug: searching for replacements for alacritty in core
debug: searching for replacements for alacritty in extra
debug: searching for replacements for alembic in core
debug: searching for replacements for alembic in extra
debug: searching for replacements for alsa-lib in core
debug: searching for replacements for alsa-lib in extra
debug: searching for replacements for alsa-plugins in core
debug: searching for replacements for alsa-plugins in extra
debug: searching for replacements for alsa-topology-conf in core
debug: searching for replacements for alsa-topology-conf in extra
debug: searching for replacements for alsa-ucm-conf in core
debug: searching for replacements for alsa-ucm-conf in extra
debug: searching for replacements for alsa-utils in core
debug: searching for replacements for alsa-utils in extra

After that all the packages of my computer (so I didn't include everything), and at the end:

debug: searching for replacements for zstd in core
debug: searching for replacements for zxing-cpp in core
debug: searching for replacements for zxing-cpp in extra
debug: searching for replacements for zziplib in core
debug: searching for replacements for zziplib in extra
 there is nothing to do
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'

Even if I seem to be able to update now, there are still some errors in the output of the debug it seems like.

Offline

#5 2023-10-20 12:37:32

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,800

Re: [SOLVED]Pacman stopped finding updates even when trying another mirror

The only "errors" I see in the debug output is the missing database signatures which are
1. optional
2. afaict still not a thing, https://wiki.archlinux.org/title/Pacman … ing_pacman

Edit: since things work now, the debug log doesn't tell much about the (previous) problem but I don't think that _limiting_ the mirrors to https helped here.
I'd not geo-restrict the mirrors though, but go strictly by performance.

Last edited by seth (2023-10-20 12:39:31)

Offline

#6 2023-10-21 16:40:03

Turtyo
Member
Registered: 2023-03-26
Posts: 32

Re: [SOLVED]Pacman stopped finding updates even when trying another mirror

Yeah, this is what I saw too, guess I should put try to put to look into this database signature. Anyway, I will mark this as solved, even if the reason as to why is not very clear hmm
Thank you for taking the time to respond you two !

Offline

Board footer

Powered by FluxBB