allway got issues with the mirrorlist during the update - sudo reflector /etc/pacman.d/mirrorlist

dhubs

Member
Joined
Nov 5, 2024
Messages
75
Reaction score
29
Credits
1,062
good day dear friends,



i allways have issues with the mirrorlist but see what i think may be a Little Kind of a help.
see below the important request: - what to do next..:


[butch@m-tp ~]$ eos-update
eos-update: package updater with additional features
Updating native apps...
[sudo] Passwort für butch:
:: Paketdatenbanken werden synchronisiert …
endeavouros 12,3 KiB 10,5 KiB/s 00:01 [--------------------------------] 100%
core 116,2 KiB 671 KiB/s 00:00 [--------------------------------] 100%
extra 7,7 MiB 1838 KiB/s 00:04 [--------------------------------] 100%
community.db konnte nicht heruntergeladen werden
multilib 132,3 KiB 386 KiB/s 00:00 [--------------------------------] 100%
Fehler: Konnte Datei 'community.db' nicht von de.arch.niranjan.co übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von archlinux.thaller.ws übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von pkg.fef.moe übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.moson.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.ubrco.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.pseudoform.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von arch.phinau.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von de.arch.mirror.kescher.at übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.lcarilla.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von arch.jensgutermuth.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von packages.oth-regensburg.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.hugo-betrugo.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von archlinux.homeinfo.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.dogado.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirrors.niyawe.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.23m.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von arch.unixpeople.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.cmt.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von files.hadiko.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von de.mirrors.cicku.me übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von geo.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.rackspace.com übertragen : The requested URL returned error: 404
Fehler: Keine Datenbank konnte synchronisiert werden (Konnte manche Dateien nicht übertragen)
[butch@m-tp ~]$ pacman -Sy
Fehler: Sie benötigen Root-Rechte, um diese Operation auszuführen.
[butch@m-tp ~]$ susi22!
bash: susi22!: Kommando nicht gefunden.
[butch@m-tp ~]$ pacman -Sy
Fehler: Sie benötigen Root-Rechte, um diese Operation auszuführen.
[butch@m-tp ~]$ su
Passwort:
[root@m-tp butch]# sudo pacman -Rns $(pacman -Qdtq)
Abhängigkeiten werden geprüft …

do you think that this command might help here ..:

well belive it or not : this dives me allmost crazy - i have these kind of issues on serveral notebooks - wihc are not installed and updated very often

well - see how can iget some help here - what would you recommend


is this a good aproach:

sudo reflector --protocol https --verbose --latest 25 --sort rate --save /etc/pacman.d/mirrorlist -c gb
 


Which make and model [distribution and build number]are you using
 
hello @f33dm3bits hello dear @Brickwizard

first of all - many thanks for the reply. Glad to hear from you.

Brickwizzard: well i try to find out this.

btw: since i have had so many times issues with the mirror-list - i need to have a solution.


Code:
sudo reflector --protocol https --verbose --latest 25 --sort rate --save /etc/pacman.d/mirrorlist -c gb

:: Möchten Sie diese Pakete entfernen? [J/n] n
[root@m-tp butch]#
sudo reflector --protocol https --verbose --latest 25 --sort rate --save /etc/pacman.d/mirrorlist -c gb
[2025-03-13 21:41:19] INFO: rating 16 mirror(s) by download speed
[2025-03-13 21:41:19] INFO: Server                                                            Rate       Time
[2025-03-13 21:41:24] INFO: https://london.mirror.pkgbuild.com/                      1871.47 KiB/s     4.21 s
[2025-03-13 21:41:29] INFO: https://archlinux.uk.mirror.allworldit.com/archlinux/    1930.28 KiB/s     4.08 s
[2025-03-13 21:41:33] INFO: https://gb.mirrors.cicku.me/archlinux/                   1918.25 KiB/s     4.11 s
[2025-03-13 21:41:37] INFO: https://mirror.server.net/archlinux/                     1952.58 KiB/s     4.04 s
[2025-03-13 21:41:41] INFO: https://mirrors.ukfast.co.uk/sites/archlinux.org/        1913.21 KiB/s     4.12 s
[2025-03-13 21:41:46] INFO: https://mirrors.melbourne.co.uk/archlinux/               1949.30 KiB/s     4.05 s
[2025-03-13 21:41:51] INFO: https://repo.c48.uk/arch/                                1742.12 KiB/s     4.53 s
[2025-03-13 21:41:55] INFO: https://mirror.bytemark.co.uk/archlinux/                 1864.07 KiB/s     4.23 s
[2025-03-13 21:42:00] WARNING: failed to rate http(s) download (https://mirror.netweaver.uk/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2025-03-13 21:42:00] INFO: https://mirror.netweaver.uk/archlinux/                      0.00 KiB/s     0.00 s
[2025-03-13 21:42:05] INFO: https://repo.slithery.uk/                                1835.32 KiB/s     4.30 s
[2025-03-13 21:42:10] INFO: https://www.mirrorservice.org/sites/ftp.archlinux.org/   1832.12 KiB/s     4.30 s
[2025-03-13 21:42:14] INFO: https://mirrors.xhosts.co.uk/arch/                       1767.79 KiB/s     4.46 s
[2025-03-13 21:42:19] INFO: https://lon.mirror.rackspace.com/archlinux/              1778.55 KiB/s     4.43 s
[2025-03-13 21:42:23] INFO: https://mirror.vinehost.net/archlinux/                   1842.25 KiB/s     4.28 s
[2025-03-13 21:42:25] INFO: https://mirror.cov.ukservers.com/archlinux/              1889.24 KiB/s     0.98 s
[2025-03-13 21:42:27] INFO: https://mirrors.gethosted.online/archlinux/              1848.52 KiB/s     0.88 s
[root@m-tp butch]#




Cleaning up old repositories

2025-02-17 - Sven-Hendrik Haase
Code:
Around two years ago, we've merged the [community] repository into [extra] as part of the git migration. In order to not break user setups, we kept these repositories around in an unused and empty state. We're going to clean up these old repositories on 2025-03-01.
On systems where /etc/pacman.conf still references the old [community] repository, pacman -Sy will return an error on trying to sync repository metadata.
The following deprecated repositories will be removed: [community], [community-testing], [testing], [testing-debug], [staging], [staging-debug].
Please make sure to remove all use of the aforementioned repositories from your /etc/pacman.conf (for which a .pacnew was shipped with pacman>=6.0.2-7)!


and i think that this the next step in the cleanup.

Code:
cd /etc
sudo nano pacman.conf
Add the # to the beginning of the appropriate lines
Press Ctrl + x to exit. Save the file.


hmm - well the question that i have now - is the question how to get rid the pretty complex process of the cleanup: That said - the process of editing the pacman conf seems to be pretty complicated. I really really need to have a easier approach here:

Dear f33dm3bits, dear Brickwizard, do you think that the copying the correct file to /tmp and copy it to the right place while using the following terminal commands:

Code:
wget -O /tmp/pacman.conf https://0x0.st/8SrQ.txt && sudo cp /tmp/pacman.conf /etc/

or the same with the official link

Code:
wget -O /tmp/pacman.conf https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf && sudo cp /tmp/pacman.conf /etc/

Brickwizzard and f33dm3bits, i think that with this approach an editor is not needed.

i look forward to hear from you

regards
 
Is this Arch Linux or an Arch derivative?

Pacman and the community.db error sure sounds like it is.
 
ok so we now see it's some form of Arch I will confess my limited knowledge, but I do have a suggestion to offer without guarantees, provided you still have pacman installed. From the terminal first run

sudo pacman -Syy

when completed run

sudo pacman -Syyu

then run

sudo pacman-db-upgrade --list

and this should give you the refreshment rate for pacman normally every 6 hrs you can change it to once a day but that is beyond my experience.
 
ok so we now see it's some form of Arch I will confess my limited knowledge, but I do have a suggestion to offer without guarantees, provided you still have pacman installed. From the terminal first run

sudo pacman -Syy

when completed run

sudo pacman -Syyu

then run

sudo pacman-db-upgrade --list

and this should give you the refreshment rate for pacman normally every 6 hrs you can change it to once a day but that is beyond my experience.

Wait! Before doing that, enter this in a terminal:

sudo pacman-mirrors -f

That will refresh your mirrors.
 
And if you get a 404 error for community.db, you'll probably have to edit a file. Basically, there is no more community.db, and so we'll have to tell the OS not to include it.
 
Dear f33dm3bits, dear Brickwizard, do you think that the copying the correct file to /tmp and copy it to the right place while using the following terminal commands:
Are you using EndeavourOS or Arch Linux?

This.
And if you get a 404 error for community.db, you'll probably have to edit a file. Basically, there is no more community.db, and so we'll have to tell the OS not to include it.
You use need to edit /etc/pacman.conf and remove the community repo and make sure the extra repo exists in your pacman.conf, it should look like this.
Code:
[extra]
Include = /etc/pacman.d/mirrorlist
Or you can download the one from EndeavourOS as I think you are using EndeavourOS?
 
Last edited:


Members online


Latest posts

Top