Bug 69185 - Mirrorselect is selecting all mirrors that time out.
|
Bug#:
69185
|
Product: Gentoo Linux
|
Version: 1.0
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: johnm@gentoo.org
|
Reported By: nberardi@zigamorph.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: Mirrorselect is selecting all mirrors that time out.
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-10-27 13:57 0000
|
Mirrorselect is selecting all mirrors that time out or won't let me connect.
Is selecting all mirrors that end in *.de, which is half a world away from
Pennsylvania, USA. I know that I am not having problems just generally
connecting to mirrors from my location because when I manually configure the
mirrors for make.conf, and choose ones that are in the US and by me I get
connections of up 400Kb/s.
Reproducible: Always
Steps to Reproduce:
1. follow the steps to select mirror in the setup instructions.
2.
3.
Actual Results:
Gave me invalid mirrors and mirrors that average 30Kb/s.
Expected Results:
Gave me mirrors that are actually giving good download speeds, not mirrors
half a world away. I found mirrors at Notre Dom that give me connections at
400Kb/s.
Kicking over to johnm, who maintains mirrorselect.
this might be due to a change in the way mirrorselect utilizes wget.
checking...
I have the same issue with mirrorselect. When mirrorselect is used in deep
mode (-D), the url's that are unable to be resolved, are instantly returned.
So their time is shorter than the fastest download. Therefore mirrorselect
selects them as the fastest sites. I believe that is where the issue is. I
have the issue in 0.84 and 0.86.
I have just comitted 0.87, this should solve the issue.
the problem was pretty simple. $? returned 0 regardless of whether or not wget returned 0.
this has now been solved and should work fine, any problems please let me know.