On Sun, Feb 27, 2000 at 11:13:50AM +0100, Markus Fischer wrote:
> Hi,
> 
> just a quick question: How can I print all packages and their
> version number a given package depends on ? I've seen it in the
> submitted bugs.

If you have the grep-dctrl package installed, the command
grep-available can do this.

HAL9000:~$ grep-available -P -X -s Package,Depends netscape-base-4
Package: netscape-base-4
Depends: ldso (>= 1.9.7-0), libc5 (>= 5.4.0-0), libc6 (>= 2.1.2), xlib6g (>= 
3.3.5)

The command options are:
-P : search on the package name only
-X : require an exact match
-s Package,Depends : display only the Package and Depends fields
and there's a whole bunch more options to fine tune your search.
-- 
Mike Werner  KA8YSD           |  "Where do you want to go today?"
ICQ# 12934898                 |  "As far from Redmond as possible!"
'91 GS500E                    |
Morgantown WV                 |  Only dead fish go with the flow.

Reply via email to