On Mon, Sep 12, 2005 at 01:32:42PM -0600, Peter Ziobrzynski wrote:
Is there a way to get the list of packages that depend on a package
(dependent packages) then doing grep through the /var/db/pkgs like that?
cd /var/db/pkg
find . -name DEPEND | xargs grep avifile
Unfortunately this only lists locally installed packages.
The reverse operation for finding a list of dependent packages for a
package is provided with 'emerge --emptytree -p mozilla'. Is there
something like that for the first question?
[06:24 PM]wwong ~ $ equery belongs equery
[ Searching for file(s) equery in *... ]
app-portage/gentoolkit-0.2.0 (/usr/bin/equery)
app-portage/gentoolkit-0.2.0 (/usr/share/doc/gentoolkit-0.2.0_pre10/equery)
[06:38 PM]wwong ~ $ equery depends avifile
[ Searching for packages depending on avifile... ]
[06:39 PM]wwong ~ $ equery depends ffmpeg
[ Searching for packages depending on ffmpeg... ]
media-libs/xine-lib-1.0.1-r3
(I don't have avifile installed)
so... emerge gentoolkit
run equery with no arguments to see what it can do.
W
--
Inside some of us is a thin person struggling to get out, but she can
usually be sedated with a few pieces of chocolate cake.
Sortir en Pantoufles: up 32 days, 1:42
--
gentoo-user@gentoo.org mailing list