Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] minimalistic emerge
Date: Fri, 08 Aug 2014 15:46:09
Message-Id: 53E4F0B4.9000806@gentoo.org
In Reply to: Re: [gentoo-dev] minimalistic emerge by Igor
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 Igor - you need to read the emerge man page.
5
6 "emerge -uDNav @world" is the recommended way to update your system,
7 because then you will stay in sync with all appropriate updates in the
8 portage tree. However, if you don't want to do this, just "emerge -u
9 @world" -- that will only update packages in your world file, and will
10 only force dependency updates when the new version is required (based
11 on minimum versions in package dependencies). And if you only want to
12 upgrade things piecemeal, then use "--exclude [pkg]" to skip updates,
13 or "emerge -1 [pkg]" to only update an explicit list, or use
14 /etc/portage/package.mask to avoid updating to newer versions.
15
16 If you're asking for something even lighter than what 'emerge -u
17 @world' will provide, on an automagic system-wide level, then i think
18 you'll need to author some detailed specifications as to exactly what
19 it is you want this new updating feature to do.
20
21 Please note, though, that we as Gentoo developers can't guarantee that
22 your system is going to remain stable if you don't update --deep,
23 because we can't test every possible combination of every
24 stable-keyworded dependency version against every package -- not even
25 a tinderbox makes that particularly feasible, there's just too many
26 permutations. I also am not sure at this time if 'emerge -u' would
27 upgrade dependencies when the version installed was removed from the
28 portage tree, and this may have multiple adverse effects on your
29 system long-term depending on why that older version was dropped from
30 the tree.
31
32 So, the recommendation remains that one should update the entire
33 system via -uDN in order to receive all of the updates available for
34 your entire dependency tree.
35
36 -----BEGIN PGP SIGNATURE-----
37 Version: GnuPG v2
38
39 iF4EAREIAAYFAlPk8LQACgkQ2ugaI38ACPA7KAEAgp2dnrl17tsbfWhejRW75/LB
40 Z46UnOotVyIQyoVuQPkA/3AQ4NtBE6R216mtFSwj/8xSetNkKnCx3gBxe6vCJt8T
41 =Eq1Y
42 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] minimalistic emerge Igor <lanthruster@×××××.com>
Re: [gentoo-dev] minimalistic emerge Rich Freeman <rich0@g.o>