Re: dpkg
On Thu, Aug 01, 2002 at 04:01:44PM +0530, Suraj Kumar wrote:
> Cristi Banciu wrote on Thu, Aug 01, 2002 at 01:11:30PM +0300:
> cb> Is there any away to find out not using dselect or synaptic what
> cb> packeges depands on a given package ?
>
> 1. Use apt-cache depends <package name>
That shows forward dependencies. For reverse dependencies, try
'apt-cache showpkg <package name>'. It doesn't distinguish Depends: from
Recommends:, Suggests:, and Conflicts: (!) though, so you'll have to
continue by hand.
It's easier to install grep-dctrl and, after running 'dselect update',
use:
grep-available -FDepends '<package name>'
There are lots of switches to control the searching and the output.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to:
- References:
- dpkg
- From: Cristi Banciu <c.banciu@bucarest.finsiel.ro>
- Re: dpkg
- From: Suraj Kumar <suraj@symonds.net>