You are not logged in.

#1 2025-05-06 23:18:04

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,575

[SOLVED] Question About pacman new mirrors & help in configuring it

Hi

Today my pacman gave me this warning when I updated the system:

warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew

So 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/$arch

These 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!

Offline

#2 2025-05-07 01:11:45

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,674

Re: [SOLVED] Question About pacman new mirrors & help in configuring it

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

#3 2025-05-07 13:04:31

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,575

Re: [SOLVED] Question About pacman new mirrors & help in configuring it

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 rate

To 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: 'rsync

I 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!

Offline

#4 2025-05-08 00:28:40

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,674

Re: [SOLVED] Question About pacman new mirrors & help in configuring it

Succulent of your garden wrote:

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

#5 2025-05-08 00:58:01

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,674

Re: [SOLVED] Question About pacman new mirrors & help in configuring it

Succulent of your garden wrote:

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: 'rsync

I 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

#6 2025-05-10 17:11:59

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,575

Re: [SOLVED] Question About pacman new mirrors & help in configuring it

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 wink

Last edited by Succulent of your garden (2025-05-10 17:12:22)


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Offline

#7 2025-05-10 22:17:27

saf1
Member
Registered: 2011-04-04
Posts: 28

Re: [SOLVED] Question About pacman new mirrors & help in configuring it

Succulent of your garden wrote:

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 wink

https://wiki.archlinux.org/title/Pacman … nd_Pacsave
short answer: mirrorlist

Last edited by saf1 (2025-05-10 22:17:55)

Offline

#8 2025-05-11 05:38:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,277

Re: [SOLVED] Question About pacman new mirrors & help in configuring it

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 tongue

Offline

#9 2025-05-22 16:35:41

Succulent of your garden
Member
From: Majestic kingdom of pot plants
Registered: 2024-02-29
Posts: 1,575

Re: [SOLVED] Question About pacman new mirrors & help in configuring it

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 smile

Last edited by Succulent of your garden (2025-05-22 16:36:05)


str( @soyg ) == str( @potplant ) btw!

Also now with avatar logo included!

Offline

Board footer

Powered by FluxBB