great, Helmut (and Neil), that was exactly what I was looking for! :)

thanks,

On Thu, Jan 28, 2010 at 9:43 AM, Helmut Jarausch <
jarau...@igpm.rwth-aachen.de> wrote:

> On 28 Jan, Crístian Viana wrote:
> > hi,
> >
> > is there any way I could search for packages that depend on a specific
> > ebuild version? for example, I want to find out what packages depend
> exactly
> > on virtual/jdk:1.5 (and not virtual/jdk:1.4 nor virtual/jdk-1.6). if I do
> > this search:
> >
> > $ equery depends virtual/jdk:1.5
> >
> > it will show me all packages that virtual/jdk:1.5 satisfies, but I need
> the
> > packages that depend only on that version (or slot, in this case).
> >
> > this would be useful because I may have both versions of Java installed,
> but
> > I just want to have the latest version (1.6), so I need to find out what
> > packages are pulling the older version.
> >
>
> Hi,
>
> take Neil Bothwick's swiss army knife :
>
> emerge -vp --depclean virtual/jdk:1.5
>
> (it's a special case of emerge, showing which packages have pulled in
>  the package given on the command line.)
>
> Thanks Neil!
>
> Helmut.
>
>
> --
> Helmut Jarausch
>
> Lehrstuhl fuer Numerische Mathematik
> RWTH - Aachen University
> D 52056 Aachen, Germany
>
>


-- 
Crístian Deives dos Santos Viana [aka CD1]

Reply via email to