Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 25243

Summary: Mirrorselect 0.6 problems
Product: Gentoo Linux Reporter: Narada Sage <narada.sage>
Component: Current packagesAssignee: John Mylchreest (RETIRED) <johnm>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Narada Sage 2003-07-25 04:05:08 UTC
$ mirrorselect -a -s4
Downloading a list of mirrors...
Running netselect to determine mirrors, this might take a moment...
netselect: unknown host ftp6.uni-erlangen.de
netselect: unknown host ftp6.uni-erlangen.de
No mirrors have been selected. Exiting.

$ mirrorselect -v
Mirrorselect version: 0.6

This happens everytime.  It complains about unknown hosts and then after a while
exits.  It exits without setting mirrors even when there is no error about
unknown hosts.

$ emerge info
Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
GENTOO_MIRRORS="http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://212.219.56.152/sites/www.ibiblio.org/gentoo/
http://194.83.57.11/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow avi crypt encode foomaticdb gif jpeg mad mmx mpeg ncurses
pdflib png quicktime truetype xml2 xmms xv zlib directfb berkdb slang readline
bonobo svga java mysql X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis
gtk motif opengl cdr aalib acpi acpi4linux apache2 dvd faad fax fbcon imap
kerberos maildir md5sum nptl offensive pcmcia pnp sse tiff usb xml -apm -arts
-cups -kde -libg++ -mikmod -nls -qt -spell -gtkhtml -gdbm -tcltk -guile -esd
-gnome -mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg fixpackages"
Comment 1 Jeremy Hanmer 2003-07-25 16:15:06 UTC
for the record, I had this same problem even with 0.5 every once in a while.  It seemed to happen when I was using a lot of my bandwidth up (not all of it, just enough to slow things down).
Comment 2 Narada Sage 2003-07-26 03:25:15 UTC
Depending on and using netselect makes mirrorselect slower, bulkier and more error prone.  Perhaps interactive mode should be the only mode of working.  That will be faster, better distributed geographically and less likely to cause problems.  Just a thought.
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2003-07-26 03:37:27 UTC
automatic mode is an optional mode, and by no means is ideal. it does have a few drawbacks, although all problems I currently know about will have a fix in the next release of mirrorselect.

They are nearly always related to routing, dns, or other similar problems.
it should still return a list, and those errors imo arent whats stopping it, some routers prevent 40+ requests all at the samew time, so mirrorselect will in furture split it into blocks of 5 at a time, where possible.
Comment 4 Dan 2003-07-31 09:10:50 UTC
The splitting up into 5 requests is a good one.  I have yet to have mirrorselect work in automatic mode for the past several versions.  I'll be anxious to try it when it's ready.

-Dan
Comment 5 John Mylchreest (RETIRED) gentoo-dev 2003-08-05 12:19:59 UTC
mirrorselect-0.7 has now been comitted to portage testing.
this contains a block-select update to allow it to bypass routers which block over a certain number of simultaneous(sp?) lookups. (appears to not select anything if you run -a -s4)

Please test away if this effects you.
mirrorselect -a -s3 -b10