Gentoo Archives: gentoo-user

From: "Crístian Viana" <cristiandeives@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] restrictive equery depends
Date: Thu, 28 Jan 2010 23:02:49
Message-Id: 92ad22481001281502i1b54bf28ha8b2a8b0f07e5889@mail.gmail.com
In Reply to: Re: [gentoo-user] restrictive equery depends by Helmut Jarausch
1 great, Helmut (and Neil), that was exactly what I was looking for! :)
2
3 thanks,
4
5 On Thu, Jan 28, 2010 at 9:43 AM, Helmut Jarausch <
6 jarausch@××××××××××××××××.de> wrote:
7
8 > On 28 Jan, Crístian Viana wrote:
9 > > hi,
10 > >
11 > > is there any way I could search for packages that depend on a specific
12 > > ebuild version? for example, I want to find out what packages depend
13 > exactly
14 > > on virtual/jdk:1.5 (and not virtual/jdk:1.4 nor virtual/jdk-1.6). if I do
15 > > this search:
16 > >
17 > > $ equery depends virtual/jdk:1.5
18 > >
19 > > it will show me all packages that virtual/jdk:1.5 satisfies, but I need
20 > the
21 > > packages that depend only on that version (or slot, in this case).
22 > >
23 > > this would be useful because I may have both versions of Java installed,
24 > but
25 > > I just want to have the latest version (1.6), so I need to find out what
26 > > packages are pulling the older version.
27 > >
28 >
29 > Hi,
30 >
31 > take Neil Bothwick's swiss army knife :
32 >
33 > emerge -vp --depclean virtual/jdk:1.5
34 >
35 > (it's a special case of emerge, showing which packages have pulled in
36 > the package given on the command line.)
37 >
38 > Thanks Neil!
39 >
40 > Helmut.
41 >
42 >
43 > --
44 > Helmut Jarausch
45 >
46 > Lehrstuhl fuer Numerische Mathematik
47 > RWTH - Aachen University
48 > D 52056 Aachen, Germany
49 >
50 >
51
52
53 --
54 Crístian Deives dos Santos Viana [aka CD1]