The basic method (I mean with default tools on a Debian system) is to use
apt-cache:
apt-cache rdepends package
However I've found that this does not always give correct results.
Eg. in Debian Etch for the
flex package it lists the following packages: openafs-modules-source, wyg, pretzel, gcc, flexml, flex-old. But if you check the dependencies of these packages (eg. with
apt-cache show package), then you'll see that only the first three are indeed depending on the
flex package.
You get the correct result with another tool (that you've to install explicitly since it's not part of the default APT suite) called
apt-rdepends. This one has even the ability to walk through the whole dependency tree and not just one level up or down. So use the following command:
apt-rdepends -r package
PS: I've found the above "bug" (?) of apt-cache in apt v0.6.46.4-0.1.
Recent comments
1 day 20 hours ago
1 week 5 days ago
1 week 6 days ago
1 week 6 days ago
1 week 6 days ago
2 weeks 3 hours ago
2 weeks 3 days ago
2 weeks 3 days ago
4 weeks 1 day ago
4 weeks 1 day ago