Update Manager (Solaris 10) and Studio 11 patches

Hello,

On a machine running solaris 10 x86/x64 I've just installed Studio 11 (by launching the executable 'installer', Custom Install, everything selected).

When I use Update Manager (system, not hosted) to bring inline Studio 11 with the current patches I experience failures (exit code 5)...

this is the content of the 'log' file for the first attempted patch:

# cat /var/sadm/patch/121616-02/log

pkgadd: ERROR: The package <SPROdbx> 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 <SPROdbx> cannot be installed on this system/zone

Shouldn't Studio 11 installer and Update Manager handle this appropriately?

many thanks,

andrea

[1062 byte] By [aBarbieri] at [2007-11-26 9:55:46]
# 1

from the Patch Id: 121616-02 README file

For Solaris 10 releases, Sun Studio 11 installer explicitly does a -G

install, therefore the patches must be installed or removed with -G, also.

example# patchadd -G /var/spool/patch/106326-01

example# patchrm -G 104945-02

Shouldn't Update Manager be clever enough to add the -G flag automatically?

or if not to provide some mechanisms for the user to specify this option?

many thanks,

andrea

aBarbieri at 2007-7-7 1:17:06 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Yes, it should. There's a reply to the same question on the other thread from Ngoc-Nguyen: http://forum.sun.com/jive/thread.jspa?threadID=105599&tstart=0(ninth post, the last one so far)
MaximKartashev at 2007-7-7 1:17:06 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
I did some researches. Sun Studio patch need to run patchadd with -G option. But This is not the problem with neither updatemanager or smpatch utility. the problem is with patchadd. bug 6374972. Fix currently is on code review. -Ngoc
NgocNguyen at 2007-7-7 1:17:06 > top of Java-index,Development Tools,Solaris and Linux Development Tools...