Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge --sync keeps failing
Date: Mon, 06 Sep 2021 13:54:48
Message-Id: b40c3cdb-bc80-b7c6-03cf-08c472bd3706@web.de
In Reply to: Re: [gentoo-user] emerge --sync keeps failing by Michael
1 On 8/2/21 2:01 PM, Michael wrote:
2 > On Monday, 2 August 2021 12:10:12 BST n952162 wrote:
3 >> On 8/1/21 8:32 PM, Michael Orlitzky wrote:
4 >>> On Sun, 2021-08-01 at 17:32 +0200, n952162 wrote:
5 >>>> * Verifying /var/db/repos/gentoo/.tmp-unverified-download-quarantine
6 >>>>
7 >>>> ...!!! Manifest verification failed:
8 >>>> Manifest mismatch for metadata/news/Manifest
9 >>>>
10 >>>> I've raised this question before and the only useful answer I got was to
11 >>>> keep trying
12 >>> On the off chance that something is screwy on the remote end, you can
13 >>> always use "emerge-webrsync" and delay the problem until next time.
14 >>>
15 >>> Otherwise, I would say check "dmesg" for disk errors, but if it's
16 >>> happening on two machines that's a lot less likely.
17 >> I have this problem every month. Why does it fail? Is it just a
18 >> timeout because my network is slow? Can that be tweaked?
19 > I get this problem over here, but on rare occasions. Leaving it for half a
20 > day usually fixes it. Have you tried a different rsync mirror? You can use
21 > 'mirrorselect -i -r' for this task.
22
23
24 Unfortunately, mirrorselect doesn't seem to work anymore:
25
26 configparser.MissingSectionHeaderError: File contains no section headers.
27
28 It seems to have lost track of whether it's editing make.conf or repos.conf.
29
30 I ran it with the -o option, to a tempfile and tried to put that into
31 /etc/portage/repos.conf, I think, but that didn't work either.
32
33 Next, I manually editted /usr/share/portage/config/repos.conf and put
34 that line in where the old sync-uri was defined.  But that didn't work
35 either.
36
37 Now, I've created a new directory /etc/portage/repos.conf/ and moved the
38 file generate by the -o of mirrorselect into that as gentoo.conf and
39 added a "[gentoo]" section head.  It MIGHT be working now.