Oracle Solaris Studio Installation Fails With "pkgadd: ERROR: unable to create package object"
(Doc ID 1309736.1)
Last updated on NOVEMBER 05, 2021
Applies to:
Oracle Solaris Studio - Version 12.2 to 12.4 [Release 12]Oracle Solaris on SPARC (64-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on x86 (32-bit)
Symptoms
Oracle Solaris Studio 12.2 installation fails.
Error message from the GUI installer:
Error messages in the installer's logfile in the /.nbi/logs directory:
For both the GUI installer and the command line installer, installation fails because of a pkgadd "ERROR: unable to create package object"
The installer then attempts a rollback of the failed installation,
[2011-03-22 12:00:06.432]: Start rollback of Oracle Solaris Studio(ss-base/12.2.0.0.0)
The rollback, in turn, fails with the same pkgadd error:
Error messages on subsequent installation attempts
Error message from the command line installer
Configuring the installer...
Searching for JVM on the system...
Extracting installation data (can take a while, please wait)...
Running the installer wizard...
/tmp/ossi-lab174-20110330103338.silent.log:
[2011-03-30 10:33:38.338]: WARNING - Oracle Solaris Studio 12.2 was found in /opt
[2011-03-30 10:33:38.339]: ERROR - Installation is not possible. Oracle Solaris Studio could be installed only in /opt However installation location is /opt/solstudio12.2
Error message from the GUI installer:
Some of this version of Oracle Solaris Studio components are already installed in the following directory. You can install additional components only in this directory.
Changes
The problem can be observed with Oracle Solaris Studio 12.2 on Solaris 10.
The installer in Oracle Solaris Studio 12.3 and newer contains added checks that /usr/share/applications, /usr/share/man and /usr/share/pixmaps are writable, and thus the issue is less likely to occur with Oracle Solaris Studio 12.3 and newer.
The problem cannot be observed with Sun Studio 12 and earlier, which use a different installer technology.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |