Gentoo Archives: gentoo-user

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

Replies

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