Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to display or list package dependencies?

0 views
Skip to first unread message

max

unread,
Feb 15, 2006, 9:14:34 PM2/15/06
to
Hi everybody,

I hope I am not asking a too basic or silly question :(

I was looking in FAQs but I was unable to answer my question:

How do you list package dependencies for installed/spooled packages?

pkginfo, pkgchk seem unable to list what I am looking for.

Let's assume I just spooled some package, and just before installing it
I want to make sure my system satisfies what this package requires as
dependencies.

I know a brute force way to know this is just to do a pkgadd and then
it will probably complain for missing dependencies. But I don't want to
even get to that point.

What I am looking for is something similar of what you can find for
example in Red Hat when doing:
$rpm --whatrequires|--requires

Thanks a lot in advance,

Max

Oscar del Rio

unread,
Feb 16, 2006, 12:03:22 PM2/16/06
to
max wrote:

> How do you list package dependencies for installed/spooled packages?

That info is in the file <package>/install/depend
but I don't know how to query it from a "pkg" command line.

0 new messages