1 |
On 5/27/06, Duncan <1i5t5.duncan@×××.net> wrote: |
2 |
> "Daiajo Tibdixious" <daiajo@×××××.com> posted |
3 |
> a4a9bfcb0605270056o2943e748na54393460369ff02@××××××××××.com, excerpted |
4 |
> below, on Sat, 27 May 2006 17:56:52 +1000: |
5 |
> |
6 |
> > !!! Digest verification Failed: |
7 |
> > !!! /usr/portage/distfiles/perl-cleaner-1.03.tar.gz !!! Reason: Failed |
8 |
> > on MD5 verification |
9 |
> |
10 |
> This is the error, but the previous actions tell you what happened. |
11 |
> |
12 |
> Apparently, there are a couple copies of the same named tarball out there, |
13 |
> with two different sizes. The first one you got was the short one, so it |
14 |
> wasn't long enough to satisfy what portage expected and it tried other |
15 |
> locations until it found the long one. Only because you had the short one |
16 |
> already, it thought the file was just incomplete and grabbed what it |
17 |
> thought was the rest of it. Naturally, the short file, with the remaining |
18 |
> bytes from the long file to make up the difference, doesn't match the |
19 |
> md5sum of the complete long file, so you get an error. |
20 |
|
21 |
Thanks, that explains a lot. |
22 |
|
23 |
> You need to erase the bad copy you have, so portage will redownload and |
24 |
> hopefully get a correct one. If the order still happens to get you a bad |
25 |
|
26 |
I have been deleting the tarball, to regenerate the error sequence. |
27 |
|
28 |
> one first, you can try manually downloading the long one (you can see the |
29 |
> URL in the above) and placing it in the $DISTFILES dir yourself. Assuming |
30 |
> it matches what portage expects, you should then be fine. |
31 |
|
32 |
# wget http://gentoo.oregonstate.edu/distfiles/perl-cleaner-1.03.tar.gz |
33 |
: |
34 |
11:26:29 (11.54 KB/s) - `perl-cleaner-1.03.tar.gz' saved [4611/4611] |
35 |
|
36 |
This didn't help, it just went thru the same sequence again. Now its |
37 |
morning (I think better in the morning, and I notice: |
38 |
ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/perl-cleaner-1.03.tar.gz |
39 |
ftp://lug.mtu.edu/gentoo/source/distfiles/perl-cleaner-1.03.tar.gz |
40 |
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/perl-cleaner-1.03.tar.gz |
41 |
have a size of 4611 while |
42 |
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/perl-cleaner-1.03.tar.gz |
43 |
has a size of 4954. |
44 |
|
45 |
> You may also wish to check and see if there's a bug on the two different |
46 |
> versions with the same name already filed. If not, it'd be a good idea to |
47 |
> file one, to get the problem resolved. |
48 |
|
49 |
I'm not sure what I'm filing a bug on, it seems to be a problem with |
50 |
the ebuild to me, |
51 |
expecting a different size to the size of the tarball, however I'm no expert. |
52 |
|
53 |
# cat /usr/portage/*/perl-cleaner/files/digest-perl-cleaner-1.03 |
54 |
MD5 0b2008a775c134dccb8425171275481e perl-cleaner-1.03.tar.gz 4954 |
55 |
RMD160 c7e13896e1b0b420ae54ad947ffeba0cae0edcec perl-cleaner-1.03.tar.gz 4954 |
56 |
SHA256 59e56409ac35cb5e85718df3d306887922ab976548f28c81d4ee8aa0fe61d679 |
57 |
perl-cleaner-1.03.tar.gz 4954 |
58 |
# ebuild /usr/portage/*/perl-cleaner/*3* digest |
59 |
>>> Generating digest file... |
60 |
<<< perl-cleaner-1.03.tar.gz |
61 |
>>> Generating manifest file... |
62 |
<<< ChangeLog |
63 |
<<< files/digest-perl-cleaner-1.01 |
64 |
<<< files/digest-perl-cleaner-1.03 |
65 |
<<< metadata.xml |
66 |
<<< perl-cleaner-1.01.ebuild |
67 |
<<< perl-cleaner-1.03.ebuild |
68 |
>>> Computed message digests. |
69 |
|
70 |
# cat /usr/portage/*/perl-cleaner/files/digest-perl-cleaner-1.03 |
71 |
MD5 0ef2cbea2628e7b40610c0ed1d54c9a5 perl-cleaner-1.03.tar.gz 4954 |
72 |
|
73 |
where does the 4954 come from? |
74 |
|
75 |
I tried the emerge again with no joy. |
76 |
|
77 |
I would skip perl-cleaner but I want to upgrade portage, and its a dependent: |
78 |
# emerge --oneshot -auDbv portage |
79 |
|
80 |
These are the packages that I would merge, in order: |
81 |
|
82 |
Calculating dependencies ...done! |
83 |
[ebuild U ] app-admin/perl-cleaner-1.03 [1.01] 0 kB |
84 |
[ebuild U ] sys-apps/portage-2.0.54-r2 [2.0.54] -build +doc (-selinux) 6 kB |
85 |
|
86 |
-- |
87 |
gentoo-amd64@g.o mailing list |