Gentoo Archives: gentoo-portage-dev

From: Mike Frysinger <vapier@g.o>
To: xed@×××.ch
Cc: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Re: emaint
Date: Sun, 06 Aug 2006 06:13:57
Message-Id: 200608060213.05873.vapier@gentoo.org
1 On Sunday 11 June 2006 18:38, you wrote:
2 > The man page says you're the author (of the man page anyway) of
3 > emaint. I don't quite understand this utility.
4
5 i just usually write all the man pages
6
7 > I've noticed that emerge now has something called a "set" of which
8 > "world" is such a thing. This is a relatively recent change
9 > (not in documentation for emerge 2.0.51.22-r3).
10
11 not really, portage has always had "sets" ... the "world" and "system" sets
12
13 > But even in the latest `man emerge`, this is still mentioned:
14 > /var/lib/portage/world
15 > Contains a list of all user-specified packages. You can safely
16 > edit this file, adding packages that you want to be considered
17 > in world set updates and removing those that you do not want
18 > to be considered.
19 >
20 > So my question is, if I can edit it like it says I can, why should it
21 > complain when I do something like this?:
22
23 dunno, i wasnt part of decision making for said change
24
25 > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
26 > cdimage portage # echo 'sys-process/vixie-cron' >
27 > /var/lib/portage/world cdimage portage # emerge world -pv
28 >
29 > These are the packages that would be merged, in order:
30 >
31 > Calculating world dependencies |
32 > !!! Problems have been detected with your world file
33 > !!! Please run emaint --check world
34 >
35 >
36 > ... done!
37 >
38 > Total size of downloads: 0 kB
39 > cdimage portage # emaint --check world
40 > Checking world for problems
41 >
42 > 'sys-process/vixie-cron' is not installed
43 >
44 >
45 > Finished
46 > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
47 > So now what? Is world sort of useless for editing?
48 >
49 > Has something changed? Why can't I make edits to my world file? What I
50 > have typically done is to copy world files from other systems during
51 > install so that all the good stuff that I like is present (more or
52 > less with minimal tweaking) on each new system I deploy. This worked
53 > great until today. Any hints would be appreciated. I didn't feel that
54 > this was necessarily a bug since it's just likely that I'm not
55 > understanding some subtle thing that has changed. Thanks.
56
57 i'll let the guys who made said change comment on it
58 -mike

Replies

Subject Author
Re: [gentoo-portage-dev] Re: emaint Alec Warner <antarus@g.o>