Re: [gentoo-user] How to display all dependencies?

2012-04-05 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05.04.2012 12:13, Helmut Jarausch wrote:
 Hi,
 
 is there a command which shows all dependencies of a package?
 
 Unfortunately, qdepends doesn't do the job, e.g.
 
 qdepends kde-base/kde-meta shows no dependencies at all while there
 are more than 200 of them.
 
 Many thanks for a hint, Helmut.
 

Hi,

equery can do it for you:

equery depgraph package

short is:

equery g package

The default settings are a depth of 1, showing only direct
dependencies. You can customise it by using --depth, e.g.:

equery g --depth=4 kde-meta

equery is part of gentoolkit

With kind regards,

Hinnerk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPfXhVAAoJEJwwOFaNFkYc0nIH/2TKmWn/86F9USfsz+H9pXJw
HaVAOMbJwplt5QaGgBRVzv4rDsady+NwCOW2N3q39pX9kwQv8HvN4eso8R9bCCTb
16X2SeXQsIE1ITDHhk8TXFQHQ43JMVsvM/rYo7HImjWwrN6HIRCtrc9uaRILtzjW
LJVHrvVQ+/hDGNxNrjNKOp7Md8dslxRz10ge2yTU5VQY5A8uMKLrkAZOmZzZHSjy
rh3iaFVQr0vPsw6z8krOmHCqCdg1NGsWcnglQUXmxlGbZB2mbiJKdBNISuA/60vd
AhbcRQQj7xHb0I553+ZSnMOkurcYEZNHEqiA20po/sMgCF2XES+Oad5WnDzNyCQ=
=qhba
-END PGP SIGNATURE-



Re: [gentoo-user] How to display all dependencies?

2012-04-05 Thread Alan McKinnon
On Thu, 05 Apr 2012 12:13:05 +0200
Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote:

 Hi,
 
 is there a command which shows all dependencies of a package?
 
 Unfortunately, qdepends doesn't do the job, e.g.
 
 qdepends kde-base/kde-meta shows no dependencies at all while there
 are more than 200 of them.
 
 Many thanks for a hint,
 Helmut.
 

qdepends displays DEPENDs but kde-meta defines RDEPENDS, and all of
those are themselves just meta packages.

kde-meta RDEPENDS on kde-*-meta and should show up with qdepends -r

Be careful how deep you do this search, anything you come up with will
probably not do the search you want. Rather search the deps of each
individual kde meta package.

You can't just do a simple deep recursive search, that will find the
deps of a package, find the deps of those packages, and the deps of
those by the time this ends, the command will list probably all of
@system and @world



-- 
Alan McKinnnon
alan.mckin...@gmail.com