Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#19911 - rankmirrors broken by pacman 3.4.0 upgrade

Attached to Project: Pacman
Opened by M. Brown (mbrown) - Wednesday, 23 June 2010, 01:49 GMT
Last edited by Allan McRae (Allan) - Thursday, 01 July 2010, 06:00 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 3.4.0
Due in Version 3.4.1
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Summary and Info:

Rankmirrors outputs servers in alphabetical order, not order of speed. It seems rankmirrors is not expanding the $repo / $arch variables in the mirrorlist.

See this thread:
http://bbs.archlinux.org/viewtopic.php?id=99613

Steps to Reproduce:

pacman -Syu
cd /etc/pacman.d
rankmirrors mirrorlist
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 01 July 2010, 06:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit:
http://projects.archlinux.org/pacman.git /commit/?h=maint&id=2222e9f8
Comment by Andres P (llanero) - Wednesday, 23 June 2010, 02:43 GMT Comment by trusktr (trusktr) - Wednesday, 23 June 2010, 18:04 GMT
confirmed. It shows all the servers as "unreachable". So i guess since they are "unreachable" pacman defaults to put them in alphabetical order.

Right now pacman is downloading packages at about 100k/s
...Not very fast!
Comment by trusktr (trusktr) - Wednesday, 23 June 2010, 18:10 GMT
Hey, llanero, can you please show me your ranked mirror list so that i can have fast pacman usage while we wait for the official fix?

Thanks :D
Comment by Andres P (llanero) - Thursday, 24 June 2010, 02:49 GMT
I doubt you're on the same timezone, let alone the same country, but here it is.

rankmirrors -n 5 -v

http://arch.pastebin.com/NPpt547X

Note that the commented lines aren't supposed to be sorted, but the uncommented ones are correctly compared based on lag.
Comment by trusktr (trusktr) - Thursday, 24 June 2010, 03:16 GMT
hehe, thanks, it did go a little faster.

Someone mentioned in the forums that changing the line "Architecture = auto" to "Architecture = x68_64" (or i686) will allow rank mirrors to work properly. I'm going to try it just for rank mirrors, then change it back. :D
Comment by trusktr (trusktr) - Thursday, 24 June 2010, 03:17 GMT
It didn't work! :( it still just put the servers in alphabetical order.

Let me try powerpill, maybe it'll get ast using the slowest server...
Comment by trusktr (trusktr) - Thursday, 24 June 2010, 03:23 GMT
Yikes, powerpill is not playing well with it.

Hmmm...
Comment by Andres P (llanero) - Thursday, 24 June 2010, 03:23 GMT
rankmirrors doesn't read pacman.conf
Comment by Allan McRae (Allan) - Monday, 28 June 2010, 11:55 GMT
Fixed with git commit 2222e9f8
Comment by trusktr (trusktr) - Thursday, 01 July 2010, 16:48 GMT
nice, very nice.

Loading...