Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15052 - 404 - File not found - Error with Portage Mirrors
Summary: 404 - File not found - Error with Portage Mirrors
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-03 12:24 UTC by Haldir
Modified: 2011-10-30 22:21 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 Haldir 2003-02-03 12:24:25 UTC
Some Gentoo Mirrors apparently return a text/html file instead of a proper 404 
Not Found message, if an ebuild can't be found. (happens when an alternate 
source is given in the ebuild)
Portage then quits with an MD5 crc failure (because it downloads the html error 
file as the ebuild source), instead of trying the next mirror.
This happens, if the gentoo mirror is accessed via wget with HTTP (default way)
e.g "http://ftp.tu-clausthal.de/pub/linux/gentoo", if it is accessed with ftp 
(ftp://) it works fine.
Workaround: use ftp:// access instead of http:// access with wget

Reproducible: Always
Steps to Reproduce:
1.Enter another Mirror (tried with http://ftp.tu-clausthal.de/pub/linux/gentoo)
2.emerge pam-login
3.

Actual Results:  
emerge fails with MD5 check failed, does not check next mirror

Expected Results:  
emerge should check next mirror and consequently download it from the source 
given in the .ebuild

Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://ftp.tu-clausthal.de/pub/linux/gentoo 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.sunsite.dk/gentoo 
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config"
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 apm arts avi crypt encode gif gpm imlib java libg++ libwww 
mikmod mmx motif mpeg ncurses nls oggvorbis opengl qtmt quicktime sdl spell 
svga truetype xml2 xmms xv zlib gdbm berkdb slang readline tcpd pam ssl perl 
python -X -gtk -cups -tiff -jpeg -png -gnome -kde -qt -pdflib -alsa"
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.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-02-04 05:04:52 UTC
Portage should recognise 404's now and delete them and proceed with the
next mirror. 2.0.46-r11
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-02-04 05:41:35 UTC
fixed

This is only applicable to bad mirrors anyway.