Gentoo Archives: gentoo-user

From: Michael Hampicke <gentoo-user@××××.biz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Difference between --update and --emptytree?
Date: Sun, 31 Mar 2013 11:56:38
Message-Id: 51582469.1000008@hadt.biz
In Reply to: Re: [gentoo-user] Difference between --update and --emptytree? by Walter Dnes
1 Am 31.03.2013 05:12, schrieb Walter Dnes:
2 > On Sat, Mar 30, 2013 at 10:04:24PM -0400, Mike Gilbert wrote
3 >> On Sat, Mar 30, 2013 at 9:49 PM, Walter Dnes <waltdnes@××××××××.org> wrote:
4 >>> Did an update today. After the update, I checked again...
5 >>>
6 >>> [d531][waltdnes][~] emerge -pv --update --changed-use world
7 >>>
8 >>> These are the packages that would be merged, in order:
9 >>>
10 >>> Calculating dependencies... done!
11 >>>
12 >>> Total: 0 packages, Size of downloads: 0 kB
13 >>>
14 >>> Good... nothing to add... I think. But replace "--update" with
15 >>> "--emptytree", and a whole bunch of new and updated stuff shows up. Is
16 >>> there a logical explanation? Should I emerge world? Or just the new
17 >>> and updated stuff (with the -1 flag)? Here are listings of the new and
18 >>> updated stuff...
19 >>
20 >> The extra stuff is probably build-time deps, which do not get updated
21 >> by default. Try this:
22 >>
23 >> emerge -pv --update --changed-use --with-bdeps=y world
24 >
25 > I see nothing at all to be emerged...
26 >
27 > ====================================================================
28 > [d531][waltdnes][~] emerge -pv --update --changed-use --with-bdeps=y world
29 >
30 > These are the packages that would be merged, in order:
31 >
32 > Calculating dependencies... done!
33 >
34 > Total: 0 packages, Size of downloads: 0 kB
35 > ====================================================================
36
37 You can also try adding --deep to your emerge options.
38
39 Or double check with eix -u -c
40
41 >
42 > I've written an "autodepclean" script that I run to guide me through
43 > cleaning up orphaned dependancies. Think of it as a "sane depclean".
44 > After each use, I run revdep-rebuild to ensure that nothing is broken.
45 > Could this be at the root of my situation?
46 >
47
48 What do you mean by sane depclean? Are there any problems with
49 --depclean that I am not aware of?

Replies

Subject Author
Re: [gentoo-user] Difference between --update and --emptytree? Walter Dnes <waltdnes@××××××××.org>