Gentoo Archives: gentoo-user

From: Mark Shields <laebshade@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] portage inconsistency?
Date: Sun, 05 Aug 2007 15:26:19
Message-Id: 642958cc0708050820u10ef7dc0xce1246e2a3539904@mail.gmail.com
In Reply to: Re: [gentoo-user] portage inconsistency? by Tim Allingham
1 On 8/5/07, Tim Allingham <deserted@×××××××××××.au> wrote:
2 >
3 > On Sun, 2007-08-05 at 16:32 +0200, Bo Ørsted Andresen wrote:
4 > > On Tuesday 17 July 2007 00:46:08 maxim wexler wrote:
5 > > > So, emerge portage results in one package being
6 > > > installed, portage, 61kb.
7 > > >
8 > > > emerge -u portage lines up 5 or 6 packages plus
9 > > > portage, 18Mb.
10 > > >
11 > > > Went ahead and just did the one package, figuring
12 > > > later I could do an emerge -u for the rest of it.
13 > > >
14 > > > But this is what happens:
15 > > >
16 > > > heathen@localhost ~ $ emerge -pv portage
17 > > >
18 > > > These are the packages that would be merged, in order:
19 > > >
20 > > > Calculating dependencies... done!
21 > > > [ebuild R ] sys-apps/portage-2.1.2.9 USE="-build
22 > > > -doc -epydoc (-selinux)" LINGUAS="-pl" 0 kB
23 > > >
24 > > > Total: 1 package (1 reinstall), Size of downloads: 0
25 > > > kB
26 > > >
27 > > > What I expected.
28 > > >
29 > > > heathen@localhost ~ $ emerge -puv portage
30 > > >
31 > > > These are the packages that would be merged, in order:
32 > > >
33 > > > Calculating dependencies... done!
34 > > >
35 > > > Total: 0 packages, Size of downloads: 0 kB
36 > > >
37 > > > So why doesn't it list the upgrade part now?
38 > >
39 > > Because --update stops calculating deps when none of the specified
40 > targets
41 > > need updating. Only --deep checks the consistency of all dependencies
42 > even
43 > > when none of the targets need updating. You could argue it's a
44 > deficiency in
45 > > portage (although well-known)..
46 > >
47 >
48 > meaning that an emerge -pvuD world/portage should show the upgrades
49 >
50 >
51 I just use emerge -DNavu world (can always substitute -p in there for emerge
52 -DNpvu world) - helps to make sure all packages are up to date, including
53 use flags for those packages.
54
55 --
56 - Mark Shields