Problem with mirrorlist

This forum is for discussion about general software issues.

Problem with mirrorlist

Postby woody » Sun Oct 13, 2019 4:11 pm

I've been having problems with slow and aborted pacman updates for a few weeks. In my mirrorlist, the only mirror I had active was the GeoIP based: Server = http://mirror.archlinuxarm.org/$arch/$repo

I made all of the US mirrors active and ran rankmirrors, but it showed them all to be 'unreachable'. So, I tried each one in a browser and I found that all of them were accessible except for http://il.us.mirror.archlinuxarm.org

Looks like:

1. rankmirrors doesn't work (probably a lot of people already knew this, but I never tried it before)/

2. http://il.us.mirror.archlinuxarm.org seems to be down, even though it still shows up in the official list of Arm mirrors.

My guess is that the il.us mirror was getting hit by the GeoIP round-robin, and was stopping pacman from working. So, does anybody know what's up with http://il.us.mirror.archlinuxarm.org? Should it be removed from the mirrors list?
woody
 
Posts: 88
Joined: Tue Dec 11, 2012 2:40 pm

Re: Problem with mirrorlist

Postby technosf » Fri Nov 08, 2019 8:45 pm

Ditto.

I commented out the geoip server and found that ca. and il. were unreliable after going through the US servers.
[size=85] MochaBin 5G || NSA325 [/size]
technosf
 
Posts: 131
Joined: Sat Jan 08, 2011 10:54 pm

Re: Problem with mirrorlist

Postby vap0rtranz » Sat Dec 07, 2019 3:24 pm

+1. I posted about this a few weeks ago as well thinking it was a download or ISP problem on my end but couldn't get at the root cause.

And yes, the Illinois server fails the most on my testing as well. I noticed this after switching pacman to using wget as downloader because wget shows more detail on download errors.

I wish we (ARM) had a mirror status like x86 Arch have, something like:

$this->bbcode_second_pass_code('', '# curl -s "https://www.archlinux.org/mirrorlist/?country=US&protocol=http&ip_version=4&use_mirror_status=on" | sed -e 's/^#Server/Server/' -e '/^#/d' | rankmirrors -n 5 -')

Instead, all I've found that we (ARM) can do it rank the default ARM mirror list, like below:

$this->bbcode_second_pass_code('', '# rankmirrors -n 5 /etc/pacman.d/mirrorlist > fast-mirrorlist')

The problem with that ^ is the Illinois server is consistently ranked just below the GeoIP mirror. The result of the above command:

$this->bbcode_second_pass_code('', 'Server = http://mirror.archlinuxarm.org/$arch/$repo
Server = http://il.us.mirror.archlinuxarm.org/$arch/$repo
Server = http://fl.us.mirror.archlinuxarm.org/$arch/$repo
Server = http://nj.us.mirror.archlinuxarm.org/$arch/$repo')

So I'm now commenting both the Illinois and GeoIP servers out of my mirrorlist.

If you check more of the mirrors, so non-US, then it's actually interesting how slow some of the US servers are. Another rankmirror output that includes German servers alongside US:

$this->bbcode_second_pass_code('', 'Server = http://ca.us.mirror.archlinuxarm.org/$arch/$repo
Server = http://de.mirror.archlinuxarm.org/$arch/$repo
Server = http://de3.mirror.archlinuxarm.org/$arch/$repo
Server = http://de4.mirror.archlinuxarm.org/$arch/$repo
Server = http://de5.mirror.archlinuxarm.org/$arch/$repo
Server = http://dk.mirror.archlinuxarm.org/$arch/$repo
Server = http://eu.mirror.archlinuxarm.org/$arch/$repo
Server = http://fl.us.mirror.archlinuxarm.org/$arch/$repo
Server = http://nj.us.mirror.archlinuxarm.org/$arch/$repo')

I trust the Germans, :) so have switched to their servers. Vielen Dank aus Amerika!
vap0rtranz
 
Posts: 5
Joined: Sat Mar 02, 2019 2:16 am

Re: Problem with mirrorlist

Postby clydedroid » Thu Dec 12, 2019 6:25 pm

I had the same issue after installing on my Raspberry Pi 4. Tried rankmirrors, but it kept ranking the GeoIP and Illinois at the top even though they kept timing out. I also switched to the German servers and they work much better :)

Ein großes Dankeschön an die Deutschen!!
clydedroid
 
Posts: 3
Joined: Mon Dec 02, 2019 12:15 am


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests