[kwlug-disc] how to list *reverse* dependencies for debian packages?

Robert P. J. Day rpjday at crashcourse.ca
Sun Aug 23 04:18:43 EDT 2009


  is there a way to conveniently list the *installed* reverse
dependencies of an installed debian package?  someone recommended:

  # apt-cache rdepends <pkgname>

but that simply lists *all* of the reverse dependencies as recorded in
the package info, whether that package is installed or not.  i'd
prefer something along the lines of:

  # rpm -q --whatrequires <pkgname>

which restricts itself to listing only those packages that are
currently installed.  i'm sure i could quickly put something together
with sed/awk/grep/perl/whatever, but is there a simpler way?  thanks.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================




More information about the kwlug-disc mailing list