Sun Studio 11 patches 120760-03 121015-02
Solaris 10 (01/2006) was loaded anew on a host. The Sun Studio 11 packages were also loaded on it.
Packages 120760-03 and 121015-02 were suggested. They would not install unless the option "pkgadd -G /var/sadm/spool/120760-03.jar.dir" was used. I applied the patches manually with the "-G" option. It worked saying that it was not necessary to do this patch.
When I ran "cc -o a.out example.cc", I now get a run-time error saying "/opt/ss11/SUNWspro/prod/bin/acomp" killed trying to open libyabe.so.
I will now uninstall the whole Studio 11 and try again. You can see why I am sorry that I attempted these two patches. I will report back once I uninstall and re-install the Sun Studio 11 codes.
# 8
The following are the failed installation messages from the Sun Update Manager:
121016-02
Sun Studio 11_x86: Patch for Sun C_x86 5.8 Compiler
Failed
Install of update failed. Utility used to install the update is not able to add packages. Utility used to install the update failed with exit code 5.
121020-02
Sun Studio 11_x86: Patch for x86 Fortran 95 8.2 Compiler
Failed
Utility used to install the update failed with exit code {0}.
120759-04
Sun Studio 11_x86: Sun Compiler Common patch for x86 backend
Failed
Install of update failed. Utility used to install the update is not able to add packages. Utility used to install the update failed with exit code 5.
121018-02
Sun Studio 11_x86: Patch for Sun C++ 5.8 compiler
Failed
Utility used to install the update failed with exit code {0}.
Log files:
# more /var/sadm/patch/121016-02/log
pkgadd: ERROR: The package <SPROcc> 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 <SPROcc> cannot be installed on this system/zone
# more /var/sadm/patch/120759-04/log
pkgadd: ERROR: The package <SPROlang> 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 <SPROlang> cannot be installed on this system/zone
Finally, attempting patchadd with -G:
# patchadd -G 121016-02
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
Checking patches that you specified for installation.
Done!
Approved patches will be installed in this order:
121016-02
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Patch 121016-02 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/121016-02/log for details
Patchadd is terminating.
# more /var/sadm/patch/121016-02/log
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
/home/hiduid/patches/121016-02/SPROcc/install/checkinstall: /home/hiduid/patches/121016-02/SPROcc/install/checkinstall: cannot open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
#