Yesterday, it was acpitool: https://bugs.gentoo.org/show_bug.cgi?id=101099 Today, it is gnupg. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: emerge -f gnupg Calculating dependencies ...done! >>> emerge (1 of 1) app-crypt/gnupg-1.4.2 to / >>> Downloading http://distfiles.gentoo.org/distfiles/gnupg-1.4.2.tar.bz2 --08:58:27-- http://distfiles.gentoo.org/distfiles/gnupg-1.4.2.tar.bz2 => `/usr/portage/distfiles/gnupg-1.4.2.tar.bz2' Resolving distfiles.gentoo.org... 156.56.247.195, 140.211.166.134 Connecting to distfiles.gentoo.org|156.56.247.195|:80... connected. HTTP request sent, awaiting response... 404 Not Found 08:58:27 ERROR 404: Not Found. >>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/gnupg-1.4.2.tar.bz2 --08:58:27-- http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/gnupg-1.4.2.tar.bz2 => `/usr/portage/distfiles/gnupg-1.4.2.tar.bz2' Resolving distro.ibiblio.org... 152.2.210.109 Connecting to distro.ibiblio.org|152.2.210.109|:80... connected. HTTP request sent, awaiting response... 404 Not Found 08:58:27 ERROR 404: Not Found. >>> Downloading ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.2.tar.bz2 --08:58:27-- ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.2.tar.bz2 => `/usr/portage/distfiles/gnupg-1.4.2.tar.bz2' Resolving ftp.gnupg.org... 217.69.76.44 Connecting to ftp.gnupg.org|217.69.76.44|:21... connected. Logging in as anonymous ... Exiting on signal 2
Server seems sort of dead atm. Added the tarball manually to the Gento mirror system. Takes some time to propagate, though. Can't we add "--timeout=20 --tries=3" as wget options to avoid such situations. It would be also an idea not to use always the same order of the mirrors and having the ability to priorize them differently by a prefix.
They're randomly selected last I looked, per fetch call... re: prioritizing, /etc/portage/mirrors exists for this reason, as does GENTOO_MIRRORS in make.conf...
(In reply to comment #2) > They're randomly selected last I looked, per fetch call... I tried a couple of times and I can tell you that Portage always goes in order through GENTOO_MIRRORS and thirdparty mirrors afterwards. And I think that this is as it ever was. On my box the stable > re: prioritizing, /etc/portage/mirrors exists for this reason, as does > GENTOO_MIRRORS in make.conf... I speak about the thirparty mirror list. Some server get more often updated than others, provide a higher bandwith, are more reliable. This is general to everyone, I don't mean user override.
(In reply to comment #1) > Can't we add "--timeout=20 --tries=3" as wget options to avoid such situations. I think that's reasonable. The wget manpage says the default timeout is 900 seconds = 15 minutes which is much too long for our purposes.
timeout set to 60 seconds in -r3412
This has been released in 2.1_pre2-r3.