My "emerge -u portage" lead to a: !!! portage-2.0.46-r11.tar.bz2: message digests do not match! !!! portage-2.0.46-r11.tar.bz2 is corrupt or incomplete. >>> our recorded digest: 87ac1e6e09f548f1c1c181ed83167e2b >>> your file's digest: 2c7b3e1c51f95468e36737544aa3ee08 >>> Please delete /usr/portage/distfiles/portage-2.0.46-r11.tar.bz2 and refetch. Then I did a: # emerge -f portage Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/portage-2.0.46-r11 to / >>> Downloading http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/portage-2.0.46-r11.tar.bz2 --12:17:50-- http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/portage-2.0.46-r11.tar.bz2 => `/usr/portage/distfiles/portage-2.0.46-r11.tar.bz2' Resolving ftp.tu-clausthal.de... done. Connecting to ftp.tu-clausthal.de[139.174.2.36]:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] [ <=> ] 907 885.74K/s 12:17:50 (885.74 KB/s) - `/usr/portage/distfiles/portage-2.0.46-r11.tar.bz2' saved [907] # strings /usr/portage/distfiles/portage-2.0.46-r11.tar.bz2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML><HEAD><LINK REV="made" HREF="mailto:ftpadm@rz.tu-clausthal.de"> <TITLE>Error: File not found</TITLE></HEAD><BODY BGCOLOR="#C0C0C0" BACKGROUND="/icons/backgnd.gif"> <ADDRESS><A HREF="http://www.rz.tu-clausthal.de/">Rechenzentrum</A> der <A HREF="http://www.tu-clausthal.de/">TU Clausthal</A></ADDRESS> <IMG SRC="/icons/rzHR.gif" ALT="" WIDTH="576" HEIGHT="23"> <H1>Error: File not found</H1> <P>The requested file does not exist on this server:<BR> <CODE>http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/portage-2.0.46-r11.tar.bz2</CODE> <P><A HREF="/pub">Go to the root directory of the server.</A> <HR><ADDRESS>Generated by <A HREF="http://www.apache.org/">Apache/1.3.26 (Unix)</A> at <A HREF="/">ftp.tu-clausthal.de</A>, 20, <BR>maintained by <A HREF="mailto:ftpadm@rz.tu-clausthal.de">ftpadm@rz.tu-clausthal.de</A>. </ADDRESS></BODY></HTML> Is there any automated way to handle these fetch failures?
In portage-2.0.46-r11... It autodetects bad 404 mirrors...
Sorry to say that, but even with portage-2.0.46-r12 it doesn't work: # emerge -u glib pango atk gtk+ imagemagick Calculating dependencies ...done! >>> emerge (1 of 5) dev-libs/glib-2.2.1 to / >>> Downloading http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/glib-2.2.1.tar.bz2 --11:58:33-- http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/glib-2.2.1.tar.bz2 => `/usr/portage/distfiles/glib-2.2.1.tar.bz2' Resolving ftp.tu-clausthal.de... done. Connecting to ftp.tu-clausthal.de[139.174.2.36]:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] [ <=> ] 899 877.93K/s 11:58:34 (877.93 KB/s) - `/usr/portage/distfiles/glib-2.2.1.tar.bz2' saved [899] !!! glib-2.2.1.tar.bz2: message digests do not match! !!! glib-2.2.1.tar.bz2 is corrupt or incomplete. >>> our recorded digest: 42406a17819080326e105f8333963b97 >>> your file's digest: f07e85fb955cf40b5493e6721a93eddc >>> Please delete /usr/portage/distfiles/glib-2.2.1.tar.bz2 and refetch. # file /usr/portage/distfiles/glib-2.2.1.tar.bz2 /usr/portage/distfiles/glib-2.2.1.tar.bz2: HTML document text # strings /usr/portage/distfiles/glib-2.2.1.tar.bz2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML><HEAD><LINK REV="made" HREF="mailto:ftpadm@rz.tu-clausthal.de"> <TITLE>Error: File not found</TITLE></HEAD><BODY BGCOLOR="#C0C0C0" BACKGROUND="/icons/backgnd.gif"> <ADDRESS><A HREF="http://www.rz.tu-clausthal.de/">Rechenzentrum</A> der <A HREF="http://www.tu-clausthal.de/">TU Clausthal</A></ADDRESS> <IMG SRC="/icons/rzHR.gif" ALT="" WIDTH="576" HEIGHT="23"> <H1>Error: File not found</H1> <P>The requested file does not exist on this server:<BR> <CODE>http://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/glib-2.2.1.tar.bz2</CODE> <P><A HREF="/pub">Go to the root directory of the server.</A> <HR><ADDRESS>Generated by <A HREF="http://www.apache.org/">Apache/1.3.26 (Unix)</A> at <A HREF="/">ftp.tu-clausthal.de</A>, 20, <BR>maintained by <A HREF="mailto:ftpadm@rz.tu-clausthal.de">ftpadm@rz.tu-clausthal.de</A>. </ADDRESS></BODY></HTML>
cyber, please take care of the faulty mirror?
http://ftp.tu-clausthal.de/ doesn't work yet... Either somebody has a look on the software, or kicks its admin, or... I've taken that mirror out of my personal list...
That's a bad 404 redirect. Just as a note... Portage >=2.0.47-r2 autohandles that.
Sorry, I need to say that 2.0.47-r2 produces the same problem at least with http://ftp.tu-clausthal.de.
Fine, 2.0.47-r4 finally works, at least with that slightly selfish ftp.tu-clausthal.de. ;-)
fixed :)