Thanks Tom - as a workaround I could try the evaluation phase and if the
number of packages to install after evaluation are less than those I
gave it then this would indicate the user needs to do an image-update
and I can prompt them to that effect. If I had the data before hand I
could show a image-update icon beside the relevant packages which would
be a lot more helpful for the user.
Do you know what the plans are with regard to metapackages? I would
really like to be able to query for just metapackage updates, rather
than listing every package from the repo, its particularly unhelpful for
the user. But I need some way to figure out what are the metapackages
from the inventory.
So I'd like to be listing "OpenSolaris System Update" for instance for a
new version of OpenSolaris as opposed to every package in the
incorporation.
JR
Tom Mueller (pkg-discuss) wrote:
John,
Based on looking at the code, the "incorporated" field in the state
dictionary returned from image.inventory will always be false. It
appears as if that hasn't been implemented yet in image.__inventory.
Tom
jmr wrote:
Hi,
I'm working on an Update Manager GUI and want to check if the packages
I'm listing are incorporated so I can signal this to the user and prompt
them that they will need to do an image-update to get the latest version
of this incorporated package.
When I run pkg list -av <pkg-name> I see the UFIX column and it is
reporting upgradeable correctly but not incorporated. Is this meant to work?
Thanks,
JR
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss