You are not logged in.

#1 2023-09-12 14:44:00

klodep
Member
Registered: 2019-11-25
Posts: 3

[SOLVED] synchronization of all databases failed

synchronization of all databases failed (some files could not be recovered)

When executing the command :

sudo pacman -Sy

pacman is unable to retrieve the "archlinuxfr.db" file from the "repo.archlinux.fr" repository.
I get the error:

The requested URL returned error: 404

and synchronization of all databases fails.

I've updated the "etc/pacman.d/mirrorlist" file with the command :

reflector --country Canada --country United_States --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist

and nothing is done by re-executing the same command.

Here's the result of the command with the --debug parameter

sudo pacman -Sy --debug
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: new section 'archlinuxfr'
debug: config: SigLevel: Never
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: Aucun fichier ou dossier de ce type
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) : signature PGP manquante
debug: missing optional signature
debug: setting usage of 15 for core repository
debug: adding new server URL to database 'core': https://mirror.quantum5.ca/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.xenyth.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.0xem.ma/arch/core/os/x86_64
debug: adding new server URL to database 'core': https://mirror.csclub.uwaterloo.ca/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': https://muug.ca/mirror/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: Aucun fichier ou dossier de ce type
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) : signature PGP manquante
debug: missing optional signature
debug: setting usage of 15 for extra repository
debug: adding new server URL to database 'extra': https://mirror.quantum5.ca/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.xenyth.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.0xem.ma/arch/extra/os/x86_64
debug: adding new server URL to database 'extra': https://mirror.csclub.uwaterloo.ca/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': https://muug.ca/mirror/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: Aucun fichier ou dossier de ce type
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) : signature PGP manquante
debug: missing optional signature
debug: setting usage of 15 for community repository
debug: adding new server URL to database 'community': https://mirror.quantum5.ca/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.xenyth.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.0xem.ma/arch/community/os/x86_64
debug: adding new server URL to database 'community': https://mirror.csclub.uwaterloo.ca/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': https://muug.ca/mirror/archlinux/community/os/x86_64
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: setting usage of 15 for archlinuxfr repository
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
:: Synchronisation des bases de données de paquets…
téléchargement de core…
téléchargement de extra…
téléchargement de community…
téléchargement de archlinuxfr…
debug: core.db: url is https://mirror.quantum5.ca/archlinux/core/os/x86_64/core.db
debug: core.db: maxsize 134217728
debug: core.db: using time condition 1694520569
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://mirror.quantum5.ca/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: 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://mirror.quantum5.ca/archlinux/extra/os/x86_64/extra.db
debug: extra.db: maxsize 134217728
debug: extra.db: using time condition 1694520550
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://mirror.quantum5.ca/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: 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: community.db: url is https://mirror.quantum5.ca/archlinux/community/os/x86_64/community.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: community.db: curl returned result 0 from transfer
debug: community.db: response code 304
debug: community.db.sig: url is https://mirror.quantum5.ca/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: file met time condition
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: archlinuxfr.db: url is http://repo.archlinux.fr/x86_64/archlinuxfr.db
debug: archlinuxfr.db: maxsize 134217728
debug: archlinuxfr.db: using time condition 1668793183
debug: archlinuxfr.db: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
debug: archlinuxfr.db: curl returned result 0 from transfer
debug: archlinuxfr.db: response code 404
erreur : échec de récupération du fichier « archlinuxfr.db » depuis repo.archlinux.fr : The requested URL returned error: 404
debug: archlinuxfr.db: no more servers to retry
debug: curl_download_internal return code is -1
debug: failed to sync dbs: échec de récupération de certains fichiers
erreur : la synchronisation de toutes les bases de données a échoué (échec de récupération de certains fichiers)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'archlinuxfr'
[klodep@LenovoE560 ~]$ 

Last edited by klodep (2023-09-21 11:46:07)

Offline

#2 2023-09-12 14:50:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,319

Re: [SOLVED] synchronization of all databases failed

http://repo.archlinux.fr/

The repo doesn't exist anymore, remove it.

Last edited by V1del (2023-09-12 14:51:08)

Offline

#3 2023-09-12 14:59:50

klodep
Member
Registered: 2019-11-25
Posts: 3

Re: [SOLVED] synchronization of all databases failed

How do I remove this deposit?

Offline

#4 2023-09-12 15:19:22

loqs
Member
Registered: 2014-03-06
Posts: 18,094

Re: [SOLVED] synchronization of all databases failed

klodep wrote:

How do I remove this deposit?

Pacman#Repositories_and_mirrors

Offline

#5 2023-09-12 15:34:02

klodep
Member
Registered: 2019-11-25
Posts: 3

Re: [SOLVED] synchronization of all databases failed

The file

etc/pacman.conf

has been updated and

removed from the file

Offline

Board footer

Powered by FluxBB