Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64896 - Could emerge retry a download if the digests dont match?
Summary: Could emerge retry a download if the digests dont match?
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 14:05 UTC by Shaun Crampton
Modified: 2004-09-21 16:02 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 Shaun Crampton 2004-09-21 14:05:53 UTC
I just did an all day 'emerge world' but came back to find it'd stalled. One of the digests didn't match on a downloaded file. I'd like it if emerge could retry from a different mirror as the problem is usually caused not by malicious file modification but by network/ftp problems.

Is there already an option buried somewhere already??

Reproducible: Sometimes
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.8-ck7)
=================================================================
System uname: 2.6.8-ck7 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.3
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/
http://mir.zyrianes.net/gentoo/ http://ftp.easynet.nl/mirror/gentoo/
http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib aim alsa apache2 apm arts artswrappersuid audiofile avi
bitmap-fonts cdparanoia cdr composite crypt cups dga directfb divx4linux doc dri
dvd dvdr dvdread encode esd fbcon flac flash foomaticdb gd gdbm gif gimpprint
gmp gpm gstreamer gtk gtk+ gtk2 hardenedphp imlib jabber java javascript jpeg
kde ldap libg++ libwww linguas_en_GB live mad matroska
media-video/mplayer:libcaca mikmod mmx mng monkey motif mpeg msn mysql ncurses
net-www/apache:threads nls oggvorbis ooo-kde opengl oss pam pdflib perl png
postgres ppds python qt quicktime readline samba scanner sdl slang speex spell
sse ssl svg svga tcltk tcpd tetex theora tiff truetype usb video_cards_radeon
wmf x86 xine xml xml2 xmms xprint xv xvid yahoo zlib"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-09-21 16:02:06 UTC
It does try. The solution is not simple.

Users may not wish for portage to repeatedly try to fetch a file
over their network. It can consume a lot of bandwidth that may be
paid for per megabyte.

It does retry, but it can only assume that it is invalid due to
tampering.