Re: "What satisfies this dependancy?"
On Mon, Dec 09, 2002 at 05:37:18PM -0500, Travis Crump wrote:
> Phil Edwards wrote:
> >We all know how packages can provide meta-virtual-package-dependancy
> >thingies, e.g., the mailx package requires a mail-transport-agent package,
> >and a bunch of packages all provide mail-transport-agent, so take your
> >How do I discover what installed package is currently providing/satisfying
> >one of those kinds of dependancies? Continuing the above example,
> >how do I find out which of the many possible packages is providing
> >mail-transport-agent on an installed system?
> >(The actual problems at hand are with libraries, but the solution should
> >be the same, or similar enough.)
> Install grep-dctrl and then you can use "grep-available -F Provides -s
> Package mail-transport-agent"
... and, if you want just installed packages, something like this should
grep-status -FStatus 'ok installed' | \
grep-dctrl -FProvides -nsPackage mail-transport-agent
Colin Watson [email@example.com]