I have been trying to emerge sys-fs/cloop-2.05 (unstable) due to problems 2.04 (stable) and no matter what mirrors I try I keep getting message digest mismatch error. I've been trying for at least 24 hours. Many mirrors don't seem to even have the file. Here is the final error message: 20:57:54 (90.23 KB/s) - `/usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz' saved [303063] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking cloop_2.05~20060829-1.tar.gz ;-) ... [ !! ] !!! Digest verification failed: !!! /usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz !!! Reason: Failed on RMD160 verification !!! Got: cd1ef95c7b56593fecfebd04611f20366dfe4dce !!! Expected: 57d0c6df7e2de844faba8fc146d1ce4939c04c27
Here is my system info: Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.19-gentoo-r5 i686) Here is link to my bug report for why cloop 2.04 won't emerge: http://bugs.gentoo.org/show_bug.cgi?id=170833
I have had this issue in the past with other packages. I do the following to fix it: rm -rf /usr/portage/sys-fs/cloop* emerge --sync emerge sys-fs/cloop-2.05
I gave that a go. It made no difference. I do get a different received hash tho. I don't know if this is normal, but you can see some mirrors don't even have the file. Then one server seems to partially have it, then the final ones resumes it. I am guessing this its the partial download that is corrupted somehow and the resumed downloaded segment is probably correct. I guess portage joins two segments and then the final file is incorrect. I will try download the file fully manually. (I think I tried that, but will make sure). >>> Emerging (1 of 1) sys-fs/cloop-2.05 to / >>> Downloading 'ftp://ftp.swin.edu.au/gentoo/distfiles/cloop_2.05~20060829-1.tar.gz' --11:25:00-- ftp://ftp.swin.edu.au/gentoo/distfiles/cloop_2.05~20060829-1.tar.gz => `/usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz' Resolving ftp.swin.edu.au... 136.186.1.76 Connecting to ftp.swin.edu.au|136.186.1.76|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /gentoo/distfiles ... done. ==> PASV ... done. ==> RETR cloop_2.05~20060829-1.tar.gz ... No such file `cloop_2.05~20060829-1.tar.gz'. >>> Downloading 'http://mirror.pacific.net.au/linux/Gentoo/distfiles/cloop_2.05~20060829-1.tar.gz' --11:25:01-- http://mirror.pacific.net.au/linux/Gentoo/distfiles/cloop_2.05~20060829-1.tar.gz => `/usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz' Resolving mirror.pacific.net.au... 61.8.0.17 Connecting to mirror.pacific.net.au|61.8.0.17|:80... connected. HTTP request sent, awaiting response... 404 Not Found 11:25:06 ERROR 404: Not Found. >>> Downloading 'http://public.planetmirror.com/pub/gentoo/distfiles/cloop_2.05~20060829-1.tar.gz' --11:25:06-- http://public.planetmirror.com/pub/gentoo/distfiles/cloop_2.05~20060829-1.tar.gz => `/usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz' Resolving public.planetmirror.com... 203.16.234.90, 203.16.234.91, 203.16.234.19, ... Connecting to public.planetmirror.com|203.16.234.90|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] [ <=> ] 33,142 148.79K/s 11:25:06 (148.17 KB/s) - `/usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz' saved [33142] >>> Resuming download... >>> Downloading 'ftp://mirror.pacific.net.au/linux/Gentoo/distfiles/cloop_2.05~20060829-1.tar.gz' --11:25:06-- ftp://mirror.pacific.net.au/linux/Gentoo/distfiles/cloop_2.05~20060829-1.tar.gz => `/usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz' Resolving mirror.pacific.net.au... 61.8.0.17 Connecting to mirror.pacific.net.au|61.8.0.17|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /linux/Gentoo/distfiles ... done. ==> SIZE cloop_2.05~20060829-1.tar.gz ... done. ==> PASV ... done. ==> REST 33142 ... done. ==> RETR cloop_2.05~20060829-1.tar.gz ... No such file `cloop_2.05~20060829-1.tar.gz'. >>> Resuming download... >>> Downloading 'ftp://ftp.planetmirror.com/pub/gentoo/distfiles/cloop_2.05~20060829-1.tar.gz' --11:25:07-- ftp://ftp.planetmirror.com/pub/gentoo/distfiles/cloop_2.05~20060829-1.tar.gz => `/usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz' Resolving ftp.planetmirror.com... 203.16.234.85, 203.16.234.86 Connecting to ftp.planetmirror.com|203.16.234.85|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/gentoo/distfiles ... done. ==> SIZE cloop_2.05~20060829-1.tar.gz ... done. ==> PASV ... done. ==> REST 33142 ... done. ==> RETR cloop_2.05~20060829-1.tar.gz ... No such file `cloop_2.05~20060829-1.tar.gz'. >>> Resuming download... >>> Downloading 'http://ftp.caliu.info/debian/pool/main/c/cloop/cloop_2.05~20060829-1.tar.gz' --11:25:08-- http://ftp.caliu.info/debian/pool/main/c/cloop/cloop_2.05~20060829-1.tar.gz => `/usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz' Resolving ftp.caliu.info... 147.83.29.16, 147.83.91.172 Connecting to ftp.caliu.info|147.83.29.16|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 303,063 (296K), 269,921 (264K) remaining [application/x-gzip] 100%[++++++++++++======================================================================================================>] 303,063 24.94K/s ETA 00:00 11:25:20 (23.80 KB/s) - `/usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz' saved [303063/303063] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking cloop_2.05~20060829-1.tar.gz ;-) ... [ !! ] !!! Digest verification failed: !!! /usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz !!! Reason: Failed on RMD160 verification !!! Got: de034d332d5991ecd1860425613aac70bf6de13b !!! Expected: 57d0c6df7e2de844faba8fc146d1ce4939c04c27 gen
I think I've isolated the problem to a corrupted mirror. When this mirror (http://public.planetmirror.com/pub/gentoo/) is (or was) in my GENTOO_MIRRORS it would get a corrupted segment of the cloop gz file then fail the download. Emerge would move onto next mirror and eventually find one and *resume* the download from the portion of the file it already downloaded. So since the 1st portion of the final file is corrupted (due to that bad mirror) the hash check would always fail. So for what ever reason, for me, this file is corrupt. http://public.planetmirror.com/pub/gentoo/distfiles/cloop_2.05~20060829-1.tar.gz The solution seems to be: 1. Remove http://public.planetmirror.com/pub/gentoo/ from your GENTOO_MIRRORS in /etc/make.conf (Perhaps there are other mirrors corrupted or with server issues - I dunno) 2. delete file /usr/portage/distfiles/cloop_2.05~20060829-1.tar.gz 3. emerge sys-fs/cloop-2.05 The emerge now downloads and builds fine for me. (I don't know what protocol is with closing bugs, but perhaps it should stay open until that mirror is sorted ??)
I fixed this, thanks