Hi all,
(This is for after OpenSolaris 2009.06).
Shawn gave me some feedback and more help on this (thank you),
so here's a third webrev for bug #4134:
http://defect.opensolaris.org/bz/show_bug.cgi?id=4134
pkg operations should report operation sizes
New webrev is at:
http://cr.opensolaris.org/~richb/pkg-4134-v3/
Changes:
* Output is given for just "-v" rather than "-nv".
* Now prints out estimated transfer size and space required.
The new output for install and image-update (-nv because I
just wanted to do a dry-run) examples is:
$ pkg install -nv SUNWxsane
Creating Plan | Before evaluation:
UNEVALUATED:
+pkg:/[email protected],5.11-0.111:20090508T164501Z
After evaluation:
None -> pkg:/[email protected],5.11-0.111:20090508T164501Z
None -> pkg:/[email protected],5.11-0.111:20090508T163418Z
Actuators:
restart_fmri: svc:/application/desktop-cache/gconf-cache:default
None
Estimated transfer size: 4.40 MB
Estimated space required: 17.30 MB
$
$pfexec pkg image-update -nv
Creating Plan / Before evaluation:
UNEVALUATED:
+pkg:/[email protected],5.11-0.111:20090518T052643Z
+pkg:/[email protected],5.11-0.111:20090418T200446Z
+pkg:/[email protected],5.11-0.111:20090508T235707Z
+pkg:/[email protected],5.11-0.111:20090418T200438Z
+pkg://extra/[email protected],5.11-0.101:20090428T230107Z
+pkg:/[email protected],5.11-0.111:20090418T200317Z
+pkg:/[email protected],5.11-0.111:20090418T200137Z
...
pkg:/[email protected],5.11-0.110:20090320T180638Z ->
pkg:/[email protected],5.11-0.111:20090508T160202Z
pkg:/[email protected],5.11-0.110:20090320T175451Z ->
pkg:/[email protected],5.11-0.111:20090508T155140Z
None ->
pkg:/developer/netbeans/plugin/[email protected],5.11-0.111:20090418T200132Z
None -> pkg:/web/[email protected],5.11-0.111:20090508T165106Z
None -> pkg:/[email protected],5.11-0.111:20090508T164640Z
None -> pkg:/[email protected],5.11-0.111:20090508T162307Z
None -> pkg:/[email protected],5.11-0.111:20090508T152901Z
None -> pkg:/[email protected],5.11-0.111:20090508T162141Z
Actuators:
restart_fmri: svc:/system/manifest-import:default
restart_fmri: svc:/application/desktop-cache/gconf-cache:default
restart_fmri: svc:/application/font/fc-cache:default
restart_fmri: svc:/application/desktop-cache/gconf-cache:default
restart_fmri:
svc:/application/desktop-cache/input-method-cache:default
restart_fmri:
svc:/application/desktop-cache/pixbuf-loaders-installer:default
restart_fmri: svc:/system/manifest-import:default
restart_fmri: svc:/application/desktop-cache/icon-cache:default
restart_fmri: svc:/application/desktop-cache/mime-types-cache:default
restart_fmri: svc:/system/manifest-import:default
restart_fmri: svc:/application/desktop-cache/gconf-cache:default
restart_fmri: svc:/application/font/fc-cache:default
None
Estimated transfer size: 1.14 GB
Estimated space required: 1.53 GB
$
Thanks.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss