[csw-users] list of top level packages?

Wyche, George PW George.Wyche at pw.utc.com
Thu Nov 8 00:00:59 CET 2012


@Peter and Dago

> On Behalf Of Peter Bonivart
> Sent: Wednesday, November 07, 2012 4:47 PM
> To: Questions and discussions
> Subject: Re: [csw-users] list of top level packages?
> 
> On Wed, Nov 7, 2012 at 11:40 PM, Wyche, George             PW
> <George.Wyche at pw.utc.com> wrote:
> > So I might edit the catalog of the 3000+ openCSW packages, convert all the
> lines to look as above, save the output to /tmp, sort -u, and treat that as my top-
> level packages list?
> 
> pkgparam is a Solaris pkg command, it operates on your systems package
> database, not on the OpenCSW catalog. Something like this should list
> all bundles on a system:
> 
> $ for i in `pkgutil --list`; do pkgparam $i OPENCSW_BUNDLE ; done | sort | uniq

Doh! pkgparam. I knew that, but only used it a couple times. I am new to the package making business.
Here at work no Solaris box is allowed access to the internet. But I do have a sparc at home so from there I will play with the above and also that script. *IF* I get it all to work, and *IF* I can make the output look nice, I'll report back.

George


More information about the users mailing list