Apparently, luupgrade needs a bit of situation-checking. I got some packages 
failing to upgrade with a message like:

Doing pkgadd of SUNWxwice to /
pkgadd: ERROR: The package <SUNWxwice> is currently installed on the system in 
the global zone. To install the new instance of this package in the global zone 
only, you must specify the -G option. To install the new instance of this 
package in all zones you must first remove the existing instance of this 
package from the global zone first (via pkgrm) and then install the new 
instance of this package in all zones.
pkgadd: ERROR: package <SUNWxwice> cannot be installed on this system/zone
pkgadd return code = 1

The message is correct, we did install a number of packages (mostly graphics) 
with -G, since there's no need for them in our local zones except to waste 
space. I think pkgadd in general and/or luupgrade in particular should check 
for such conditions (as seen in pkginfo files) and use -G to upgrade packages 
automatically.
 
 
This message posted from opensolaris.org
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to