Glenn Lagasse wrote:
>> pkg install -nv gcc-dev
>> ...
>> None -> pkg:/SUNWhea at 0.5.11,5.11-0.111:20090331T082919Z
>> ...
> 
> Interesting.  Why doesn't SUNWhea then show up as part of this command?
> 
> glagasse at shire:~$ pkg contents -r -t depend -o fmri gcc-dev
 > ...
> Basically, I want to see 'sub-depends' in the same listing.  Is this
> possible?  So, using the example above, the list would also include
> SUNWhea because SUNWgcc depends on it.
> 

pkg manifests explicitly are not supposed to contain the closure of
their dependencies, because this freezes other package dependency
relationships at publication time.  While not an issue for Solaris
components, this would cause problems for unbundled packages, which
would effectively capture Solaris package dependencies at the
time of publication, which might be rather different later on.

What you're asking for would need a new subcommand; e.g.:

pkg show-dependencies [-r] fmri

where the -r computes the recursive closure...

- Bart

-- 
Bart Smaalders                  Solaris Kernel Performance
barts at cyber.eng.sun.com              http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."

Reply via email to