Unable to retrieve a package database: 404 error


I have been having a new error upon system update with pacman:

$ yay -Syyuu
:: Synchronisation des bases de données de paquets…
 endeavouros                                         26,4 KiB   214 KiB/s 00:00 [---------------------------------------------] 100%
 core                                               128,1 KiB  1041 KiB/s 00:00 [---------------------------------------------] 100%
 extra                                                8,3 MiB  35,0 MiB/s 00:00 [---------------------------------------------] 100%
 community                                           45,0   B   523   B/s 00:00 [---------------------------------------------] 100%
 multilib                                           143,0 KiB  1192 KiB/s 00:00 [---------------------------------------------] 100%
le fichier archlinuxfr.db n’a pas pu être téléchargé
erreur : échec de récupération du fichier « archlinuxfr.db » depuis repo.archlinux.fr : The requested URL returned error: 404
erreur : la synchronisation de toutes les bases de données a échoué (erreur non prévue)
 -> erreur lors de la mise à jour des bases de données - exit status 1

Now this looks like your typical downed mirror, but no matter how much I try to refresh my mirror list (both with the Welcome helper and with direct reflector commands) the error doesn’t seem to go away.

The error seems “normal” since when I go to https://repo.archlinux.fr/ , the page says that the repo is discontinuated since september of this year.
But it’s not even listed in my /etc/pacman.d/mirrorlist so I don’t really understand why it’s blocking my whole system update.

My best bet is that this repo was used for localization packages; and if that’s the case my question becomes: how do I update the localization mirrorlist?

It looks like you have a repo called archlinuxfr in your /etc/pacman.conf.

If so, try removing it.

Also, don’t forget to remove the community repo while you are in there.

1 Like

is the community repo discontinued?

Yes. community and extra were merged some time back.

Thanks a lot, I had no idea these repo were not mandatory

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.