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

Replies

Subject Author
Re: [gentoo-user] Depends or not depends? That is the question. :) Gevisz <gevisz@×××××.com>