Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69185 - Mirrorselect is selecting all mirrors that time out.
Summary: Mirrorselect is selecting all mirrors that time out.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 13:57 UTC by Nick Berardi
Modified: 2004-11-14 15:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Berardi 2004-10-27 13:57:57 UTC
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.
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2004-10-27 14:13:56 UTC
Kicking over to johnm, who maintains mirrorselect.
Comment 2 John Mylchreest (RETIRED) gentoo-dev 2004-11-07 04:11:55 UTC
this might be due to a change in the way mirrorselect utilizes wget.
checking...
Comment 3 Cory Cameron 2004-11-14 09:58:50 UTC
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.
Comment 4 John Mylchreest (RETIRED) gentoo-dev 2004-11-14 15:37:11 UTC
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.