Gentoo Archives: gentoo-user

From: Marc Joliet <marcec@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't emerge --sync
Date: Fri, 15 Dec 2017 11:45:03
Message-Id: 42041406.e5EkMj7z1s@thetick
In Reply to: Re: [gentoo-user] Can't emerge --sync by Peter Humphrey
1 (I've got a bad habit of saving unfinished emails in the drafts folder and then forgetting
2 about them. I found this one while cleaning it up and thought it might still be informative.)
3
4 Am Samstag, 15. Juli 2017, 17:47:18 CEST schrieb Peter Humphrey:
5 > On Saturday 15 Jul 2017 16:07:26 Marc Joliet wrote:
6 > > Am Samstag, 15. Juli 2017, 15:11:03 CEST schrieb Peter Humphrey:
7 > > > On Saturday 15 Jul 2017 12:14:52 Daniel Wagener wrote:
8 > > > > On Sat, 15 Jul 2017 11:00:01 +0100
9 > >
10 > > > > Peter Humphrey <peter@××××××××××××.uk> wrote:
11 > > [...]
12 > >
13 > > > > Why not just go there and do a "git diff"?
14 > > > > It will show you what changed – maybe that gives an Idea what happened
15 > > >
16 > > > It showed me that I'd changed "masters =" to "masters = gentoo" in
17 > > > layout.conf, which I knew because I'd been told to at some time.
18 > >
19 > > That's ridiculous. You're configuring the main portage tree to be a
20 > > master of itself. Search for "masters" in portage(5) for an explanation
21 > > of what that option is for (it's mainly interesting for overlays).
22 >
23 > Nevertheless, I did only follow an instruction in a Gentoo wiki page. It
24 > said the change was "for future compatibility" or some such. I wouldn't just
25 > have made it up for myself.
26
27 Hmm, now that you mention it, I vaguely remember something like that. (Also, for a
28 better explanation of masters, see [0].)
29
30 Searching for it now (longer than I should have), I see it's a warning from portage that you
31 get when you leave it out completely.
32
33 > --->8
34 >
35 > > What probably happened is that this is the first time something changed in
36 > > layout.conf since you added the "masters" line, thus why git never
37 > > complained.
38 >
39 > --->8
40 >
41 > > Since git is a version control system, it won't blindly overwrite local
42 > > changes, so it's best not to make any :) (so don't add that change back
43 > > in, since it's pointless anyway). Always use your own overlay if you
44 > > want to make changes.
45 > >
46 > > HTH
47 >
48 > Yes. Thanks.
49
50 [0] https://wiki.gentoo.org/wiki/Repository_format/metadata/layout.conf#masters
51 --
52 Marc Joliet
53 --
54 "People who think they know everything really annoy those of us who know we
55 don't" - Bjarne Stroustrup

Attachments

File name MIME type
signature.asc application/pgp-signature