Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Confessional: how I generally use emerge.
Date: Sat, 19 Mar 2016 17:05:45
Message-Id: 56ED865C.80600@gmail.com
In Reply to: [gentoo-user] Re: Confessional: how I generally use emerge. by "»Q«"
1 On 19/03/2016 18:43, »Q« wrote:
2 > On Fri, 18 Mar 2016 23:55:19 +0200
3 > Alan McKinnon <alan.mckinnon@×××××.com> wrote:
4 >
5 >> On 18/03/2016 20:43, »Q« wrote:
6 >>> On Thu, 17 Mar 2016 20:37:04 -0400
7 >>> Alec Ten Harmsel <alec@××××××××××××××.com> wrote:
8 >>>
9 >>>>> emerge --update --newuse --deep --with-bdeps=y system
10 >>>>> --keep-going
11 >>>>
12 >>>> Add "--oneshot", same reasoning as above.
13 >>>
14 >>> When the target is a set (in this case @system), does portage ever
15 >>> add all of it to @world?
16 >>
17 >> Effectively, yes. That's not what the code does of course (they go
18 >> into world_sets) but the behaviour is as if the set was in world, and
19 >> gets added/removed as a complete unit
20 >
21 > Hmm, that doesn't match my experience. I just tested with the smallest
22 > set I ever use, @module-rebuild :
23 >
24 > # emerge @module-rebuild
25 > Calculating dependencies... done!
26 >>>> Verifying ebuild manifests
27 >>>> Emerging (1 of 1) app-emulation/virtualbox-modules-4.3.32::gentoo
28 >>>> Installing (1 of 1) app-emulation/virtualbox-modules-4.3.32::gentoo
29 >>>> Jobs: 1 of 1 complete Load avg: 2.04,
30 >>>> 0.80, 0.52 Auto-cleaning packages...
31 >
32 >>>> No outdated packages were found on your system.
33 >
34 > * GNU info directory index is up-to-date.
35 > # cat /var/lib/portage/world_sets
36 > # file /var/lib/portage/world_sets
37 > /var/lib/portage/world_sets: empty
38 >
39 > I don't think I have anything in make.conf which would change the
40 > default behavior WRT world_sets, but here's what I have anyway:
41 >
42 > FEATURES="binpkg-logs buildsyspkg collision-protect downgrade-backup
43 > fail-clean fixlafiles news parallel-fetch parallel-install
44 > preserve-libs sandbox strict unknown-features-warn userfetch
45 > userpriv usersandbox usersync"
46 >
47 > EMERGE_DEFAULT_OPTS="--ask-enter-invalid --jobs=8 --load-average 11.2 --with-bdeps y"
48 >
49 >
50 >
51
52
53 @module-rebuild is a dynamic set. It translates to "all the packages you
54 have emerged that install out-of-tree kernel modules"
55
56 So not really a fair comparison. Compare instead against a regular
57 static set - "a bunch of packages defined by you that go together and
58 live in /etc/portage/sets/<set_name>"
59
60 --
61 Alan McKinnon
62 alan.mckinnon@×××××.com

Replies

Subject Author
[gentoo-user] Re: Confessional: how I generally use emerge. "»Q«" <boxcars@×××.net>