1 |
On 5/6/21 11:00 AM, J. Roeleveld wrote: |
2 |
> On Thursday, May 6, 2021 9:40:21 AM CEST n952162 wrote: |
3 |
>> On 5/6/21 7:42 AM, n952162 wrote: |
4 |
>>> On 5/6/21 7:30 AM, n952162 wrote: |
5 |
>>>> On 5/5/21 8:24 PM, Michael Orlitzky wrote: |
6 |
>>>>> On Wed, 2021-05-05 at 20:11 +0200, n952162 wrote: |
7 |
>>>>>> Hello. |
8 |
>>>>>> |
9 |
>>>>>> I update several machines every month. This month, most of the |
10 |
>>>>>> machines |
11 |
>>>>>> needed to update more than 300 packages. But one, which isn't any |
12 |
>>>>>> different than the others, has 0 to update, after running --sync. |
13 |
>>>>>> |
14 |
>>>>>> Does anybody have an explanation for that? |
15 |
>>>>> The manifest verification failed during emerge --sync and you didn't |
16 |
>>>>> notice it. Happens to me every time. |
17 |
>>>> Yes! It did! It does, every time! But why? I have enough disk |
18 |
>>>> space... |
19 |
>>> This forum entry from 2018: |
20 |
>>> |
21 |
>>> https://forums.gentoo.org/viewtopic-t-1085556-start-0.html |
22 |
>>> <https://forums.gentoo.org/viewtopic-t-1085556-start-0.html> |
23 |
>>> |
24 |
>>> lists various possible causes, all of which involve complicated or |
25 |
>>> |
26 |
>>> expensive fixes: |
27 |
>>> 1. with "hard-links" |
28 |
>>> 2. without "hard-links" |
29 |
>>> 3. /usr/portage is corrupted (/var/db/repos/gentoo in my case, I guess) |
30 |
>>> 4. rsync-excludes? |
31 |
>>> 5. use a different mirror (but it works for other machines) |
32 |
>>> |
33 |
>>> Is there a consensus in the mean time? |
34 |
>> Here's the error: |
35 |
>> |
36 |
>> * Verifying /var/db/repos/gentoo/.tmp-unverified-download-quarantine |
37 |
>> ...!!! Manifest verification failed: |
38 |
>> Manifest mismatch for metadata/Manifest.gz |
39 |
>> __size__: expected: 3019, have: 3011 |
40 |
>> |
41 |
>> I diffed the two metadata/Manifest.gz files, here as a png to retain the |
42 |
>> spacing. |
43 |
>> |
44 |
>> I'm not sure what __size__ is being displayed there. |
45 |
> What's the size of the "Manifest.gz" file? |
46 |
> And did you try re-synching? |
47 |
> |
48 |
> -- |
49 |
> Joost |
50 |
> |
51 |
|
52 |
01/var/db/repos/gentoo>ls -l metadata/Manifest.gz |
53 |
.tmp-unverified-download-quarantine/metadata/Manifest.gz |
54 |
-rw-r--r-- 1 root root 3011 May 6 07:39 |
55 |
.tmp-unverified-download-quarantine/metadata/Manifest.gz |
56 |
-rw-r--r-- 1 root root 3007 Apr 1 12:09 metadata/Manifest.gz |
57 |
|
58 |
01/var/db/repos/gentoo>wc <(gzip -cd < metadata/Manifest.gz | sort) |
59 |
<(gzip -cd < .tmp-unverified-download-quarantine/metadata/Manifest.gz | |
60 |
sort) |
61 |
21 127 5298 /dev/fd/63 |
62 |
21 127 5298 /dev/fd/62 |
63 |
42 254 10596 total |
64 |
|
65 |
I've resynced multiple times over multiple days. |
66 |
|
67 |
Interesting observation - all three syncs I did in May have this |
68 |
__size__ issue. When I look back at the logs from April, I see I did it |
69 |
twice. The first time also failed for metadata/Manifest.gz, but not for |
70 |
a __size__ problem, but the check sums were dumped. |
71 |
|
72 |
Apparently, the update failed and I resynced, and the second time it |
73 |
succeeded! |