Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Pacman Syu and mirrors (Read 1044 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Pacman Syu and mirrors

Hello
This morning, I had the same issue as shako (see his post from yesterday) with the database error.
So I just replaced my old mirrorlist with one I generated from https://archlinux.org/mirrorlist/ and uncommented some mirrors.
But now the situation worsened and when I do sudo pacman -Syu it outputs this (I would do a pastebin but it outputs the same errors when I try to download it):

:: Synchronizing package databases...
 system.db failed to download
 world.db failed to download
 galaxy.db failed to download
 lib32.db failed to download
error: failed retrieving file 'system.db' from archlinux.de-labrusse.fr : The requested URL returned error: 404
error: failed retrieving file 'galaxy.db' from archlinux.de-labrusse.fr : The requested URL returned error: 404
error: failed retrieving file 'lib32.db' from archlinux.de-labrusse.fr : The requested URL returned error: 404
warning: too many errors from archlinux.de-labrusse.fr, skipping for the remainder of this transaction
...

Here is my /etc/pacman.d/mirrorlist file (it's not the complete one but there's united kingdom and united states mirrors that are also uncommented after this):

##
## Arch Linux repository mirrorlist
## Generated on 2023-03-03
##

## France
Server = http://archlinux.de-labrusse.fr/$repo/os/$arch
Server = http://mirror.archlinux.ikoula.com/archlinux/$repo/os/$arch
Server = https://archlinux.vi-di.fr/$repo/os/$arch
Server = http://archlinux.mirrors.benatherton.com/$repo/os/$arch
Server = http://mirror.cyberbits.eu/archlinux/$repo/os/$arch
#Server = https://mirror.cyberbits.eu/archlinux/$repo/os/$arch
#Server = http://archlinux.datagr.am/$repo/os/$arch
#Server = https://mirrors.eric.ovh/arch/$repo/os/$arch
#Server = http://mirrors.gandi.net/archlinux/$repo/os/$arch
#Server = https://mirrors.gandi.net/archlinux/$repo/os/$arch
#Server = https://mirror.ibakerserver.pt/Arch/$repo/os/$arch
#Server = http://mirror.ibcp.fr/pub/archlinux/$repo/os/$arch
#Server = http://mirror.jordanrey.me/archlinux/$repo/os/$arch
#Server = https://mirror.jordanrey.me/archlinux/$repo/os/$arch
#Server = https://arch.juline.tech/$repo/os/$arch
#Server = http://mirroir.labhouse.fr/arch/$repo/os/$arch

Re: Pacman Syu and mirrors

Reply #1
pacman is trying to download the the databases for the Artix repo's from the Arch repo's

The following entries in /etc/pacman.conf should point at /etc/pacman.d/mirrorlist NOT /etc/pacman.d/mirrorlist-arch

Code: [Select]
[system]
Include = /etc/pacman.d/mirrorlist

[world]
Include = /etc/pacman.d/mirrorlist

[galaxy]
Include = /etc/pacman.d/mirrorlist

[lib32]
Include = /etc/pacman.d/mirrorlist
That's my guess.

Re: Pacman Syu and mirrors

Reply #2
I checked /etc/pacman.conf and the four entries do point at /etc/pacman.d/mirrorlist, so it's not that

Re: Pacman Syu and mirrors

Reply #3
You should have placed the arch linux generated file to /etc/pacman.d/mirrorlist-arch.

/etc/pacman.d/mirrorlist is of Artix.

Fix it by writing this to /etc/pacman.d/mirrorlist:

Code: [Select]
##
## Artix Linux repository mirrorlist
## Generated on 2023-02-14
##

# Default mirrors
Server = https://mirrors.dotsrc.org/artix-linux/repos/$repo/os/$arch
Server = https://mirror.clarkson.edu/artix-linux/repos/$repo/os/$arch
Server = http://ftp.ntua.gr/pub/linux/artix-linux/$repo/os/$arch

Of course later if you want more mirrors reinstall artix-mirrorlist package.

 

Re: Pacman Syu and mirrors

Reply #4
Thanks, it works now.