On 5/27/06, Duncan <[EMAIL PROTECTED]> wrote:
"Daiajo Tibdixious" <[EMAIL PROTECTED]> posted
[EMAIL PROTECTED], excerpted
below, on Sat, 27 May 2006 17:56:52 +1000:
> !!! Digest verification Failed:
> !!! /usr/portage/distfiles/perl-cleaner-1.03.tar.gz !!! Reason: Failed
> on MD5 verification
This is the error, but the previous actions tell you what happened.
Apparently, there are a couple copies of the same named tarball out there,
with two different sizes. The first one you got was the short one, so it
wasn't long enough to satisfy what portage expected and it tried other
locations until it found the long one. Only because you had the short one
already, it thought the file was just incomplete and grabbed what it
thought was the rest of it. Naturally, the short file, with the remaining
bytes from the long file to make up the difference, doesn't match the
md5sum of the complete long file, so you get an error.
Thanks, that explains a lot.
You need to erase the bad copy you have, so portage will redownload and
hopefully get a correct one. If the order still happens to get you a bad
I have been deleting the tarball, to regenerate the error sequence.
one first, you can try manually downloading the long one (you can see the
URL in the above) and placing it in the $DISTFILES dir yourself. Assuming
it matches what portage expects, you should then be fine.
# wget http://gentoo.oregonstate.edu/distfiles/perl-cleaner-1.03.tar.gz
:
11:26:29 (11.54 KB/s) - `perl-cleaner-1.03.tar.gz' saved [4611/4611]
This didn't help, it just went thru the same sequence again. Now its
morning (I think better in the morning, and I notice:
ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/perl-cleaner-1.03.tar.gz
ftp://lug.mtu.edu/gentoo/source/distfiles/perl-cleaner-1.03.tar.gz
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/perl-cleaner-1.03.tar.gz
have a size of 4611 while
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/perl-cleaner-1.03.tar.gz
has a size of 4954.
You may also wish to check and see if there's a bug on the two different
versions with the same name already filed. If not, it'd be a good idea to
file one, to get the problem resolved.
I'm not sure what I'm filing a bug on, it seems to be a problem with
the ebuild to me,
expecting a different size to the size of the tarball, however I'm no expert.
# cat /usr/portage/*/perl-cleaner/files/digest-perl-cleaner-1.03
MD5 0b2008a775c134dccb8425171275481e perl-cleaner-1.03.tar.gz 4954
RMD160 c7e13896e1b0b420ae54ad947ffeba0cae0edcec perl-cleaner-1.03.tar.gz 4954
SHA256 59e56409ac35cb5e85718df3d306887922ab976548f28c81d4ee8aa0fe61d679
perl-cleaner-1.03.tar.gz 4954
# ebuild /usr/portage/*/perl-cleaner/*3* digest
Generating digest file...
<<< perl-cleaner-1.03.tar.gz
Generating manifest file...
<<< ChangeLog
<<< files/digest-perl-cleaner-1.01
<<< files/digest-perl-cleaner-1.03
<<< metadata.xml
<<< perl-cleaner-1.01.ebuild
<<< perl-cleaner-1.03.ebuild
Computed message digests.
# cat /usr/portage/*/perl-cleaner/files/digest-perl-cleaner-1.03
MD5 0ef2cbea2628e7b40610c0ed1d54c9a5 perl-cleaner-1.03.tar.gz 4954
where does the 4954 come from?
I tried the emerge again with no joy.
I would skip perl-cleaner but I want to upgrade portage, and its a dependent:
# emerge --oneshot -auDbv portage
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] app-admin/perl-cleaner-1.03 [1.01] 0 kB
[ebuild U ] sys-apps/portage-2.0.54-r2 [2.0.54] -build +doc (-selinux) 6 kB
--
[email protected] mailing list