Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Depends or not depends? That is the question. :)
Date: Thu, 25 Sep 2014 11:24:42
Message-Id: 5423FB1D.2030605@gmail.com
In Reply to: Re: [gentoo-user] Depends or not depends? That is the question. :) by Gevisz
1 On 25/09/2014 13:09, Gevisz wrote:
2 > On Thu, 25 Sep 2014 11:10:00 +0200
3 > Alan McKinnon <alan.mckinnon@×××××.com> wrote:
4 >
5 >> On 25/09/2014 11:02, Gevisz wrote:
6 >>> Running
7 >>> #emerge --depclean --backtrack=60 --ask
8 >>> after updating my system today, I have got the following:
9 >>>>>> These are the packages that would be unmerged:
10 >>>
11 >>> dev-lang/tk
12 >>> selected: 8.5.15
13 >>> protected: none
14 >>> omitted: none
15 >>>
16 >>> dev-lang/tcl
17 >>> selected: 8.5.15-r1
18 >>> protected: none
19 >>> omitted: none
20 >>>
21 >>> All selected packages: dev-lang/tk-8.5.15 dev-lang/tcl-8.5.15-r1
22 >>>
23 >>>>>> 'Selected' packages are slated for removal.
24 >>>>>> 'Protected' and 'omitted' packages will not be removed.
25 >>>
26 >>> Would you like to unmerge these packages? [Yes/No]
27 >>>
28 >>> On the other hand,
29 >>> $ equery depends
30 >>> gives
31 >>> $ equery depends tk
32 >>> * These packages depend on tk:
33 >>> app-text/epspdf-0.6.0 (tk ? dev-lang/tk)
34 >>> dev-lang/R-3.0.1 (tk ? dev-lang/tk)
35 >>> dev-lang/ocaml-3.12.1 (tk ? >=dev-lang/tk-3.3.3)
36 >>> dev-lang/python-2.7.7 (tk ? >=dev-lang/tk-8.0)
37 >>> dev-lang/python-3.3.5-r1 (tk ? >=dev-lang/tk-8.0)
38 >>> dev-libs/libisoburn-1.3.4 (launch-frontend ? dev-lang/tk:0)
39 >>> (launch-frontend-setuid ? dev-lang/tk:0)
40 >>> dev-ml/lablgl-1.05 (tk ? >=dev-lang/tk-8.3)
41 >>> dev-vcs/git-1.8.5.5 (tk ? dev-lang/tk)
42 >>>
43 >>> What does it means?
44 >>>
45 >>> Do all these packages depend on dev-lang/tk or not?
46 >>>
47 >>> Can I answer Yes to emerge --depclean --ask?
48 >>
49 >>
50 >> equery depends gets it's output directly from the ebuild, it is not a
51 >> list of what *you* have and how you are affected.
52 >>
53 >> The ebuilds are saying that if you have "tk" in USE, then portage must
54 >> install tk. Same with tcl.
55 >>
56 >> So it all depends on what you have in USE.
57 >> We don't know what you need or want, that is your call. If you know
58 >> you need tk/tcl then add it to USE. If you don't need them, let them
59 >> be depcleaned. If you are not sure, let them be depcleaned and if
60 >> stuff breaks, then add them back to USE and update world.
61 >
62 >
63 > Thank you for explanation.
64 >
65 > I depcleaned them all.
66 >
67 > So far so good. :)
68 >
69 >
70 >
71
72
73 That's the nice thing about depcleaning stuff - if you break it, one
74 quick emerge brings it all back :-)
75
76
77
78
79 --
80 Alan McKinnon
81 alan.mckinnon@×××××.com