On Thu, Feb 05, 2009 at 03:16:03PM +0100, Rudolf Kutina wrote:

> Package           Installed Size(KB)    Section           1st line of 
> Destription
> ----------------------------------------------------------------------------------------------------------------------
> adduser                      920        admin           add and remove users 
> and groups
> apt                         5328        admin           Advanced front-end 
> for dpkg
> apt-utils                    472        admin           APT utility programs

There's no way currently to do this using only the pkg command.  You'd have
to run

    pkg contents -H -t set -o name,value

through some awk or other processor to spit out the table, and even then
installed size is a synthetic value which would be difficult to compute in
a single pass this way.  Maybe something involving

    pkg contents -H -t set,file -o action.name,name,value,pkg.size

but it gets pretty gross pretty quickly.  Yes, we'd like to be able to do
it all in one tool, but making pkg contents more sophisticated hasn't been
a priority so far.  Feel free to file an RFE, if one hasn't been already.

Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to