You are not logged in.
Hi
Today my pacman gave me this warning when I updated the system:
warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnewSo I went to /etc/pacman.d and made a diff with both files:
Diff:
< # With: reflector @/etc/xdg/reflector/reflector.conf
< # When: 2025-01-02 19:45:48 UTC
< # From: https://archlinux.org/mirrors/status/json/
< # Retrieved: 2025-01-02 19:43:51 UTC
< # Last Check: 2025-01-02 19:39:42 UTC
<
< Server = https://america.mirror.pkgbuild.com/$repo/os/$arch
< Server = https://mirror.kumi.systems/archlinux/$repo/os/$arch
< Server = https://mirror.theo546.fr/archlinux/$repo/os/$arch
< Server = https://mirrors.niyawe.de/archlinux/$repo/os/$arch
< Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
< Server = https://mirror.twds.com.tw/archlinux/$repo/os/$arch
< Server = https://mirror.ufscar.br/archlinux/$repo/os/$arch
< Server = https://mirror.pseudoform.org/$repo/os/$arch
< Server = https://london.mirror.pkgbuild.com/$repo/os/$arch
< Server = https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
< Server = https://asia.mirror.pkgbuild.com/$repo/os/$arch
< Server = https://europe.mirror.pkgbuild.com/$repo/os/$arch
< Server = https://sydney.mirror.pkgbuild.com/$repo/os/$arch
< Server = https://mirror.5i.fi/archlinux/$repo/os/$arch
< Server = https://repo.jing.rocks/archlinux/$repo/os/$arch
< Server = https://archlinux.thaller.ws/$repo/os/$arch
< Server = https://mirror.moson.org/arch/$repo/os/$arch
< Server = https://md.mirrors.hacktegic.com/archlinux/$repo/os/$arch
< Server = https://mirror.telepoint.bg/archlinux/$repo/os/$arch
< Server = https://arch.phinau.de/$repo/os/$archThese are the mirrors that had been deleted. The file called mirrorlist have these mirrors showed as red in the diff, while the mirrorlist.pacnew doesn't.
Should I delete mirrorlist and rename mirrorlist.pacnew as mirrorlist ?
Last edited by Succulent of your garden (2025-05-22 16:36:30)
str( @soyg ) == str( @potplant ) btw!
Also now with avatar logo included!
Online
You are using reflector. Just rerun it periodically (the package even includes a systemd timer to do it for you automagically once configured) to get an up-to-date list of mirrors and ignore the downloaded mirrorlist.
See the wiki for all the gory details
Offline
As far as I see, pacman-mirrorlist have reflector integrated right ? because I don't have it, until now.
So for creating a mirrorlist file I just use
reflector --latest 10 --sort rateTo be able to have the fastest mirrors in priority ?
After that I delete the mirrorlist.pacnew right?
EDIT: After making the command showed before it gave this warning before reflector prints my 10 mirror lists:
WARNING: failed to rate http(s) download (https://johannesburg.mirror.pkgbuild.com/extra/os/x86_64/extra.db): Download timed out after 5 second(s).But this url https://johannesburg.mirror.pkgbuild.co … 4/extra.db , It's also added in the list as a sugested file that reflector could made. Some others mirrors does also have been added with the same warning issue. Is that okey ?
EDIT AGAIN: Also if I run reflector --sort rate it gave me errors like this in many mirrors, here is one example:
WARNING: failed to rate rsync download (rsync://ftp.hosteurope.de/archlinux/extra/os/x86_64/extra.db): [Errno 2] No such file or directory: 'rsyncI don't know why is complaining for the rsync, I don't have it install btw.
Last edited by Succulent of your garden (2025-05-07 15:42:29)
str( @soyg ) == str( @potplant ) btw!
Also now with avatar logo included!
Online
As far as I see, pacman-mirrorlist have reflector integrated right ? because I don't have it, until now.
This is the exact reason why so many of us old-timers hate the idea of an automated installer.
Your results using reflector will be far better if you include the --country argument
Offline
EDIT AGAIN: Also if I run reflector --sort rate it gave me errors like this in many mirrors, here is one example:
WARNING: failed to rate rsync download (rsync://ftp.hosteurope.de/archlinux/extra/os/x86_64/extra.db): [Errno 2] No such file or directory: 'rsyncI don't know why is complaining for the rsync, I don't have it install btw.
Your results using reflector will be far better if you include the --protocol argument
Offline
okey thanks for the info, just one more question:
But which files pacman uses ? the mirrorlist or mirrorlist.pacnew ?
So I can delete one an use reflector with your suggestions ![]()
Last edited by Succulent of your garden (2025-05-10 17:12:22)
str( @soyg ) == str( @potplant ) btw!
Also now with avatar logo included!
Online
okey thanks for the info, just one more question:
But which files pacman uses ? the mirrorlist or mirrorlist.pacnew ?
So I can delete one an use reflector with your suggestions
https://wiki.archlinux.org/title/Pacman … nd_Pacsave
short answer: mirrorlist
Last edited by saf1 (2025-05-10 22:17:55)
Offline
reflector is on the copping block but also not strcitly required (read through the entire thread for some discussion)
Filtering by country is ok if you're living in a country with many good mirrors, but if you're living in a small or underdeveloped place with limited options, looking across the border can cause drastic improvements.
And even geographical distance is only one of multiple factors impacting the server performace (its capacity, load and yor ISPs peering causing inferior routes play into this) - Australia might of course be a special case because the country is an island in the middle of nowhere at the wrong end of the world… and I'm pretty sure every platypus is also an arch mirror ![]()
Offline
Hi just here to say thanks to all of you. I take some time to see if my download times gets worse because the first time I got very bad speed results, but now I see it was the internet and not my config.
So many thanks for all the help. Problem solved ![]()
Last edited by Succulent of your garden (2025-05-22 16:36:05)
str( @soyg ) == str( @potplant ) btw!
Also now with avatar logo included!
Online