1 |
David Relson wrote: |
2 |
> Greetings, |
3 |
> |
4 |
> In the last few days I've been encountering lots of "Digest |
5 |
> verification failed" messages indicating SHA256 verification |
6 |
> problems (see below). |
7 |
> |
8 |
> Searching the web, I've found the "generate your own" digest solution, |
9 |
> i.e. "ebuild ...package...ebuild digest". Since the checksums are |
10 |
> present to ensure integrity, this seems like a bad idea. |
11 |
> |
12 |
> Is it a bad idea to generate my own digest values? |
13 |
> |
14 |
> If so, what are the alternatives? |
15 |
> |
16 |
> Thanks. |
17 |
> |
18 |
> David |
19 |
> |
20 |
> ... emerge gettext |
21 |
> |
22 |
> Calculating dependencies ... done! |
23 |
> |
24 |
> |
25 |
>>>> Emerging (1 of 1) sys-devel/gettext-0.15 to / |
26 |
>>>> Downloading |
27 |
>>>> 'http://distfiles.gentoo.org/distfiles/gettext-0.15.tar.gz' |
28 |
>>>> |
29 |
> --20:18:41-- http://distfiles.gentoo.org/distfiles/gettext-0.15.tar.gz |
30 |
> => `/usr/portage/distfiles/gettext-0.15.tar.gz' |
31 |
> Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, |
32 |
> 64.50.238.52, ... Connecting to |
33 |
> distfiles.gentoo.org|216.165.129.135|:80... connected. |
34 |
> HTTP request sent, awaiting response... 200 |
35 |
> OK Length: 8,081,941 (7.7M) |
36 |
> [application/x-gzip] |
37 |
> |
38 |
> 100%[====================================>] 8,081,941 142.51K/s |
39 |
> ETA 00:00 |
40 |
> |
41 |
> 20:19:36 (144.45 KB/s) - `/usr/portage/distfiles/gettext-0.15.tar.gz' |
42 |
> saved [8081941/8081941] |
43 |
> |
44 |
> * checking ebuild checksums ;-) ... [ ok ] |
45 |
> * checking auxfile checksums ;-) ... [ !! ] |
46 |
> |
47 |
> !!! Digest verification failed: |
48 |
> !!! /usr/portage/sys-devel/gettext/files/gettext-0.12.1-without_java.patch |
49 |
> !!! Reason: Failed on SHA256 verification |
50 |
> !!! Got: |
51 |
> 6dfefe191bc9435a957f7f6ff0658a771cf6ccffbaf169cae79ce7017a0421ee |
52 |
> !!! Expected: |
53 |
> c5a6a223c8be6ba11f1c180c7f381914abe127c0dffb0ec91d2e0a8e06892c92 |
54 |
> |
55 |
|
56 |
I usually delete the offender from distfiles and let it download again. |
57 |
If it still fails, try sync'ing again. After that, wait until portage |
58 |
gets updated and try again. You could also be nice and see if there is |
59 |
a bug report about the offender and file one if not so the maintainer |
60 |
knows about it. |
61 |
|
62 |
That said, it could be that the server you are getting them from is |
63 |
having problems. I have ran into that a time or two as well. Switching |
64 |
servers may help. |
65 |
|
66 |
That's my thoughts at least. |
67 |
|
68 |
Dale |
69 |
|
70 |
:-) :-) |
71 |
-- |
72 |
gentoo-user@g.o mailing list |