Before you can install Oracle Developer Studio 12.5 on Oracle Solaris 11, you must ensure that some required system libraries are updated. These libraries are included with the Oracle Solaris 11 operating system in the sunpro-incorporation consolidation package, not with Oracle Developer Studio.
Since these libraries are also used by Oracle Developer Studio itself, you must install the libraries on Oracle Solaris 11.3 before installing Oracle Developer Studio.
An updated version of the sunpro-incorporation package has been added to the Oracle Solaris 11 release repository to address issues fixed in Oracle Solaris 11.3 SRU09 since Oracle Solaris 11.3 was released.
These instructions assume you are familiar with basics of the Oracle Solaris 11 Image Packaging System (IPS). A brief video introduction to IPS is available at http://download.oracle.com/otndocs/tech/OTN_Demos/IPS/IPS-demo.html.
For more extensive coverage of IPS, see Adding and Updating Software in Oracle Solaris 11.3 in the Oracle Solaris 11.3 Information Library.
Update the required system libraries using one of the following methods, depending on whether you have purchased a support contract for Oracle Solaris to obtain access to the support repository:
Update your system to the latest Oracle Solaris 11.3 Support Repository Update (SRU). Access to the Oracle Solaris 11 support repository requires an Oracle Solaris 11 Support Contract. For details, refer to the article How to Update Oracle Solaris 11 Systems from Oracle Support Repositories.
See a sample session in Example 1: Updating a Oracle Solaris 11.1 Boot Image to the Latest SRU from the Oracle Solaris 11 Support Repository.
Update your system to Oracle Solaris 11.3 from the Oracle Solaris 11 release repository at http://pkg.oracle.com/solaris/release as documented in Updating to Oracle Solaris 11.3.
Unlock the sunpro-incorporation package on the system to be updated. See the instructions Unlocking the sunpro-incorporation Package.
Update the sunpro-incorporation package from the packages provided in the Oracle Solaris 11 release repository as described in Updating the sunpro-incorporation Package in a New Boot Environment. The process is similar to the one described in the article How to Update Only Java on Your Oracle Solaris 11 System if "sunpro" is substituted for "java" in shell commands shown in the article.
(Optional) Relock the sunpro-incorporation package as described in Relocking the sunpro-incorporation Package.
The examples for unlocking and updating the sunpro-incorporation package are shown in the session in Example 2: Updating the sunpro-incorporation Package from the Oracle Solaris 11 Release Repository.
If you decide later to synchronize the system with the latest Oracle Solaris 11.3 SRU, you can do so after obtaining access to the Oracle Solaris 11 support repository. For details of synchronizing, see Example 3: Synchronizing sunpro-incorporation with the Latest SRU from the Oracle Solaris 11 Support Repository.
This task is needed in order to update to the required version of system libraries on Oracle Solaris 11.3 from the Oracle Solaris 11 release repository without updating the entire operating system to the latest Oracle Solaris 11.3 SRU.
This unlocking procedure is shown in the session in Example 2: Updating the sunpro-incorporation Package from the Oracle Solaris 11 Release Repository.
Become root on the system to be updated.
Type the following commands to show the latest versions of the sunpro-incorporation package available in the Oracle Solaris 11 release repository:
# pkg publisher PUBLISHER TYPE STATUS P LOCATION solaris origin online Fhttp://pkg.oracle.com/solaris/release/ # pkg list -af sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.2.0 --- consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.0.0.25.0 i-- consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.2.1.0.4.0 --- consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.2.0.0.37.0 ---
Verify the version of the sunpro-incorporation package to make sure it needs updating. Type the following command:
# pkg list sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.0.0.25.0 i--
The example output from this step shows version 0.5.11-0.175.3.0.0.25.0, indicating that it is not the latest version and that the package needs to be updated.
Type the following command to unlock the sunpro-incorporation package:
# pkg change-facet facet.version-lock.consolidation/sunpro/sunpro-incorporation=false
Now you can update the sunpro-incorporation package as described in Updating the sunpro-incorporation Package in a New Boot Environment.
An updated version of the sunpro-incorporation package has been added to the Oracle Solaris 11 release repository to address issues fixed in Oracle Solaris 11.3 SRU09 since Oracle Solaris 11.3 was released.
This procedure shows you how to install the updated version of sunpro-incorporation from the Oracle Solaris 11 release repository after the sunpro-incorporation package is unlocked as described in Unlocking the sunpro-incorporation Package.
Become root on the system to be updated.
Type the following to create a new boot environment with updated Oracle Developer Studio 12.5 system libraries:
# be_name=new boot environment name # pkg update --be-name $be_name sunpro-incorporation
Proceed to Downloading the Certificate and Key after updating the sunpro-incorporation package.
Relocking the sunpro-incorporation package keeps the package in sync with the rest of the system after the system is updated.
You should perform this step only if you previously unlocked the sunpro-incorporation package to install the system libraries from the Oracle Solaris 11 release repository, then obtained a support contract and updated the system to the latest Oracle Solaris 11.3 SRU from the Oracle Solaris 11 support repository.
Become root on the system where you had previously unlocked sunpro-incorporation and subsequently updated to the latest Oracle Solaris 11.3 SRU.
Type the following to create a new boot environment with updated Oracle Developer Studio 12.5 runtime libraries:
# pkg change-facet facet.version-lock.consolidation/sunpro/sunpro-incorporation=true
This step is shown in the session in Example 3: Synchronizing sunpro-incorporation with the Latest SRU from the Oracle Solaris 11 Support Repository.
This section shows the following example update scenarios for Oracle Solaris 11. If you do not have a support contract, only Example 2 is relevant.
This example shows a terminal session for upgrading a system from Oracle Solaris 11.1 to the latest SRU from the Oracle Solaris 11 support repository when you have an Oracle Solaris 11 support contract. The system's default publisher is already configured to point to the Oracle Solaris 11 support repository. See Example 3: Synchronizing sunpro-incorporation with the Latest SRU from the Oracle Solaris 11 Support Repository for details on how to do this.
The terminal session shows the following:
Lists the currently installed versions of the entire and sunpro-incorporation packages. The output reflects the versions originally delivered in Oracle Solaris 11.1.
Lists all available versions of both packages in the Oracle Solaris 11 support repository. The output shows that newer versions of both are available, reflecting the latest Oracle Solaris 11.2 SRU.
Updates the system to Oracle Solaris 11.3 SRU09. This is a lengthy update since it includes all SRUs delivered for Oracle Solaris 11.1,11.2, and 11.3 at the time of the update. The session shows that the system is updated in a named new boot environment, leaving the current boot environment unchanged.
Although it is not shown here, the system reports some recoverable errors during the installation of a package included in one of the Oracle S11.1 SRUs. The error messages can safely be ignored, as documented in the Oracle Solaris 11.3 Release Notes in the Oracle Solaris 11.3 Information Library.
root@x86box:~# beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- s11.1_example NR / 47.67G static 2014-09-15 09:14 root@x86box:~# pkg list entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.1.0.0.24.2 i-- root@x86box:~# pkg list sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.1.0.0.19.0 i-- root@x86box:~# pkg publisher PUBLISHER TYPE STATUS P LOCATION solaris origin online F https://pkg.oracle.com/solaris/support/ root@x86box:~# pkg list -af entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.3.9.0.2.0 --- entire 0.5.11-0.175.3.9.0.1.0 --- entire 0.5.11-0.175.3.8.0.7.0 --- entire 0.5.11-0.175.3.8.0.6.0 --- entire 0.5.11-0.175.3.8.0.5.0 --- ... entire 0.5.11-0.175.1.0.0.24.2 --- ...root@x86box:~# pkg list -af sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.2.0 --- consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.1.0 --- consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.8.0.7.0 --- ... consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.1.0.0.19.0 i-- ... root@x86box:~# pkg update --accept --be-name s11.1_example_s11.3sru09 ------------------------------------------------------------ Package: pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.3.9.0.2.0:20160528T012906Z License: lic_OTN ... Packages to remove: 7 Packages to install: 90 Packages to update: 498 Mediators to change: 2 Create boot environment: Yes Create backup boot environment: No DOWNLOAD PKGS FILES XFER (MB) SPEED Completed 595/595 40141/40141 872.6/872.6 1.2M/s PHASE ITEMS Removing old actions 7707/7707 Installing new actions 29119/29119 ... Updating modified actions 30920/30920 Updating package state database Done Updating package cache 505/505 Updating image state Done Creating fast lookup database Done A clone of s11.1_example exists and has been updated and activated. On the next boot the Boot Environment s11.1_example_s11.3sru09 will be mounted on '/'. Reboot when ready to switch to this updated BE. --------------------------------------------------------------------------- NOTE: Please review release notes posted at: http://www.oracle.com/pls/topic/lookup?ctx=E26502&id=SERNS --------------------------------------------------------------------------- root@x86box:~# beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- s11.1_example N / 9.80M static 2014-09-15 09:14 s11.1_example_s11.3sru09 R - 53.74G static 2014-09-15 09:59 root@x86box:~# reboot Connection to x86box.example.com closed by remote host. Connection to x86box.example.com closed.
After the system is rebooted, log in as a normal user and verify that both the entire and sunpro-incorporation packages have been updated:
... Oracle Corporation SunOS 5.11 11.3 August 2014 (x86box)% beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- s11.1_example - - 12.35M static 2014-09-15 09:14 s11.1_example_s11.3sru09 NR / 53.99G static 2014-09-15 09:59 (x86box)% pkg list entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.3.9.0.2.0 i-- (x86box)% pkg list sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.2.0 i-- (x86box)%
Check for the group package develoepr-studio-utilities:
(x86box)% pkg info developer-studio-utilities pkg: info: no packages matching the following patterns you specified are installed on the system. Try specifying -r to query remotely: developer-studio-utilities (x86box)% pkg info -r developer-studio-utilities Name: group/feature/developer-studio-utilities Summary: Developer Support For Oracle Developer Studio Description: Tools and runtime support libraries for use with Oracle Developer Studio …
The first command shows that the package is not installed. The second command shows that the command is available in the repository. Install the package as root:
root@x86box:~# pkg install -nv developer-studio-utilities Packages to install: 4 Estimated space available: 32.83 GB Estimated space to be consumed: 460.79 MB Create boot environment: No Create backup boot environment: No Rebuild boot archive: No Changed packages: solaris group/feature/developer-studio-utilities None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031625Z system/library/fortran-runtime None -> 0.5.11,5.11-0.175.3.8.0.3.0:20160425T173815Z system/library/studio-runtime None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031646Z system/library/sunperf None -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234219Z root@x86box:~# pkg install -v developer-studio-utilities Packages to install: 4 Estimated space available: 32.83 GB Estimated space to be consumed: 460.79 MB Create boot environment: No Create backup boot environment: No Rebuild boot archive: No Changed packages: solaris group/feature/developer-studio-utilities None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031625Z system/library/fortran-runtime None -> 0.5.11,5.11-0.175.3.8.0.3.0:20160425T173815Z system/library/studio-runtime None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031646Z system/library/sunperf None -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234219Z DOWNLOAD PKGS FILES XFER (MB) SPEED Completed 4/4 24/24 48.6/48.6 79.8M/s PHASE ITEMS Installing new actions 93/93 Updating package state database Done Updating package cache 0/0 Updating image state Done Creating fast lookup database Done Updating package cache 1/1
In this example, the system has been updated to Oracle Solaris 11.3 from the Oracle Solaris 11 release repository. The example shows that the release repository has a newer version of the sunpro-incorporation package than the version normally installed by pkg install from the release repository.
The terminal session shows the following tasks:
Verifies that:
System default publisher points at the Oracle Solaris 11 release repository
System entire package version is that of Oracle Solaris 11.3
System sunpro-incorporation package version is that of Oracle Solaris 11.3
Oracle Solaris 11 release repository contains a newer version of sunpro-incorporation.
Unlocks the sunpro-incorporation package. Unlocking the sunpro-incorporation package enables pkg update to install the newer version of the package.
Updates the sunpro-incorporation package from the Oracle Solaris 11 release repository
Installs the new developer-studio-utilities packages under the sunpro-incorporation package
Lists the version IDs of the updated package under the sunpro-incorporation package
root@x86box:~# pkg publisher PUBLISHER TYPE STATUS P LOCATION solaris origin online F http://pkg.oracle.com/solaris/release/ root@x86box:~# pkg list entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.3.1.0.5.0 i-- root@x86box:~# pkg list sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.0.0.25.0 i-- root@x86box:~# pkg list -af sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.2.0 --- consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.0.0.25.0 i—- root@x86box:~# pkg facet FACET VALUE SRC root@x86box:~# pkg change-facet facet.version-lock.consolidation/sunpro/sunpro-incorporation=false Packages to change: 1 Variants/Facets to change: 1 Create boot environment: No Create backup boot environment: Yes PHASE ITEMS Removing old actions 1/1 Updating package state database Done Updating package cache 0/0 Updating image state Done Creating fast lookup database Done Updating package cache 1/1 root@x86box:~# pkg install -nv sunpro-incorporation developer-studio-utilities Packages to install: 2 Packages to update: 9 Estimated space available: 39.22 GB Estimated space to be consumed: 352.48 MB Create boot environment: No Create backup boot environment: Yes Rebuild boot archive: No Changed packages: solaris group/feature/developer-studio-utilities None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031625Z system/library/studio-runtime None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031646Z consolidation/sunpro/sunpro-incorporation 0.5.11,5.11-0.175.3.0.0.25.0:20150621T221505Z -> 0.5.11,5.11-0.175.3.9.0.2.0:20160528T012705Z developer/assembler 0.5.11,5.11-0.175.3.0.0.25.0:20150621T221506Z -> 0.5.11,5.11-0.175.3.9.0.2.0:20160528T012706Z developer/library/xprofile 0.5.11,5.11-0.175.2.0.0.34.0:20140303T132011Z -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234156Z system/library/c++-runtime 0.5.11,5.11-0.175.3.0.0.24.0:20150607T193304Z -> 0.5.11,5.11-0.175.3.9.0.2.0:20160528T012707Z system/library/fortran-runtime 0.5.11,5.11-0.175.3.0.0.19.0:20150329T155700Z -> 0.5.11,5.11-0.175.3.8.0.3.0:20160425T173815Z system/library/math 0.5.11,5.11-0.175.3.0.0.19.0:20150329T155704Z -> 0.5.11,5.11-0.175.3.8.0.3.0:20160425T173821Z system/library/mmheap 0.5.11,5.11-0.175.3.0.0.7.0:20140930T154145Z -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234216Z system/library/openmp 0.5.11,5.11-0.175.3.0.0.2.0:20140721T125146Z -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234217Z system/library/sunperf 0.5.11,5.11-0.175.3.0.0.19.0:20150329T155708Z -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234219Z root@x86box:~# pkg install -v sunpro-incorporation developer-studio-utilities Packages to install: 2 Packages to update: 9 Estimated space available: 39.22 GB Estimated space to be consumed: 352.48 MB Create boot environment: No Create backup boot environment: Yes Rebuild boot archive: No Changed packages: solaris group/feature/developer-studio-utilities None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031625Z system/library/studio-runtime None -> 0.5.11,5.11-0.175.3.3.0.2.0:20151117T031646Z consolidation/sunpro/sunpro-incorporation 0.5.11,5.11-0.175.3.0.0.25.0:20150621T221505Z -> 0.5.11,5.11-0.175.3.9.0.2.0:20160528T012705Z developer/assembler 0.5.11,5.11-0.175.3.0.0.25.0:20150621T221506Z -> 0.5.11,5.11-0.175.3.9.0.2.0:20160528T012706Z developer/library/xprofile 0.5.11,5.11-0.175.2.0.0.34.0:20140303T132011Z -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234156Z system/library/c++-runtime 0.5.11,5.11-0.175.3.0.0.24.0:20150607T193304Z -> 0.5.11,5.11-0.175.3.9.0.2.0:20160528T012707Z system/library/fortran-runtime 0.5.11,5.11-0.175.3.0.0.19.0:20150329T155700Z -> 0.5.11,5.11-0.175.3.8.0.3.0:20160425T173815Z system/library/math 0.5.11,5.11-0.175.3.0.0.19.0:20150329T155704Z -> 0.5.11,5.11-0.175.3.8.0.3.0:20160425T173821Z system/library/mmheap 0.5.11,5.11-0.175.3.0.0.7.0:20140930T154145Z -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234216Z system/library/openmp 0.5.11,5.11-0.175.3.0.0.2.0:20140721T125146Z -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234217Z system/library/sunperf 0.5.11,5.11-0.175.3.0.0.19.0:20150329T155708Z -> 0.5.11,5.11-0.175.3.6.0.3.0:20160229T234219Z DOWNLOAD PKGS FILES XFER (MB) SPEED Completed 11/11 91/91 52.4/52.4 13.4M/s PHASE ITEMS Removing old actions 43/43 Installing new actions 111/111 Updating modified actions 56/56 Updating package state database Done Updating package cache 9/9 Updating image state Done Creating fast lookup database Done Updating package cache 1/1 root@x86box:~# pkg list sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.2.0 i-- root@x86box:~# pkg contents -m sunpro-incorporation | grep 175.3 set name=pkg.fmri value=pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.175.3.9.0.2.0:20160528T012705Z depend fmri=developer/assembler@0.5.11-0.175.3.9.0.2.0 type=incorporate depend fmri=developer/library/xprofile@0.5.11-0.175.3.6.0.3.0 type=incorporate depend fmri=developer/versioning/sccs@0.5.11-0.175.3.0.0.10.0 type=incorporate depend fmri=developer/xopen/xcu4@0.5.11-0.175.3.0.0.24.0 type=incorporate depend fmri=group/feature/developer-studio-utilities@0.5.11-0.175.3.3.0.2.0 type=incorporate depend fmri=system/library/c++-runtime@0.5.11-0.175.3.9.0.2.0 type=incorporate depend fmri=system/library/fortran-runtime@0.5.11-0.175.3.8.0.3.0 type=incorporate depend fmri=system/library/math@0.5.11-0.175.3.8.0.3.0 type=incorporate depend fmri=system/library/mmheap@0.5.11-0.175.3.6.0.3.0 type=incorporate depend fmri=system/library/openmp@0.5.11-0.175.3.6.0.3.0 type=incorporate depend fmri=system/library/studio-runtime@0.5.11-0.175.3.3.0.2.0 type=incorporate depend fmri=system/library/sunperf@0.5.11-0.175.3.6.0.3.0 type=incorporate
The following commands are performed as a normal user to verify:
The sunpro-incorporation package is unlocked.
The sunpro-incorporation package has been updated to version 0.5.11-0.175.3.9.0.2.0, the version of Oracle Solaris 11.3 SRU9.
Packages in sunpro-incorporation that were included in one or more Oracle Solaris 11.3 SRUs have been updated to the version of their most recently delivered SRU.
The rest of the system remains at version 0.5.11,5.11-0.175.3.1.0.5.0, same as in Oracle Solaris 11.3.
(x86box)% pkg facet FACET VALUE SRC facet.version-lock.consolidation/sunpro/sunpro-incorporation False local(x86box)% pkg list entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.3.1.0.5.0 i-- (x86box)% pkg list -af sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.2.0 i-- consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.0.0.25.0 --- ... (x86box)% pkg list sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.2.0 i-- (x86box)% pkg contents -m sunpro-incorporation | grep 175.3 | grep -v 175.3.0 set name=pkg.fmri value=pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.175.3.9.0.2.0:20160528T012705Z depend fmri=developer/assembler@0.5.11-0.175.3.9.0.2.0 type=incorporate depend fmri=developer/library/xprofile@0.5.11-0.175.3.6.0.3.0 type=incorporate depend fmri=group/feature/developer-studio-utilities@0.5.11-0.175.3.3.0.2.0 type=incorporate depend fmri=system/library/c++-runtime@0.5.11-0.175.3.9.0.2.0 type=incorporate depend fmri=system/library/fortran-runtime@0.5.11-0.175.3.8.0.3.0 type=incorporate depend fmri=system/library/math@0.5.11-0.175.3.8.0.3.0 type=incorporate depend fmri=system/library/mmheap@0.5.11-0.175.3.6.0.3.0 type=incorporate depend fmri=system/library/openmp@0.5.11-0.175.3.6.0.3.0 type=incorporate depend fmri=system/library/studio-runtime@0.5.11-0.175.3.3.0.2.0 type=incorporate depend fmri=system/library/sunperf@0.5.11-0.175.3.6.0.3.0 type=incorporate
This example shows how to synchronize the system that was used in Example 2: Updating the sunpro-incorporation Package from the Oracle Solaris 11 Release Repository with the latest SRU from the Oracle Solaris 11 support repository.
The example assumes that a key and certificate for the Oracle Solaris 11 support repository were already copied to the /var/pkg/ssl directory, as described in the article How to Update Oracle Solaris 11 Systems From Oracle Support Repositories on the Oracle Technology Network.
The terminal session shows how to do the following:
Use the key and certificate to configure the system's default publisher to point to the Oracle Solaris 11 support repository https://pkg.oracle.com/solaris/support, as explained in the article.
Update the system to the latest Oracle Solaris 11.3 SRU.
Relock the sunpro-incorporation package after the system has been updated to the latest Oracle Solaris 11 SRU.
Note that the system can still be updated to a Oracle Solaris 11.3 SRU if the sunpro-incorporation package has been unlocked and updated from the release repository, as described in the previous example.
The sunpro-incorporation package cannot be locked unless the package version is in sync with the rest of the system. In this example, the system is updated before the package is relocked.
(x86box)% beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- s11.3 - - 14.42M static 2015-10-15 13:14 s11.3_plus_ss12.5_rtlibs NR / 45.89G static 2016-06-04 13:03 17:09 (x86box)% pkg list entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.3.1.0.5.0 i-- (x86box)% pkg list sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.2.0 i-- (x86box)% su - root Password: ... root@x86box:~# pkg publisher PUBLISHER TYPE STATUS P LOCATION solaris origin online F http://pkg.oracle.com/solaris/release/ root@x86box:~# ls -l /var/pkg/ssl total 6 -rw-r--r-- 1 root root 786 Sep 9 15:44 pkg.oracle.com.key.certificate.pem -rw-r--r-- 1 root root 887 Sep 9 15:44 pkg.oracle.com.key.pem root@x86box:~# pkg set-publisher \ > -k /var/pkg/ssl/pkg.oracle.com.key.pem \ > -c /var/pkg/ssl/pkg.oracle.com.key.certificate.pem \ > -g https://pkg.oracle.com/solaris/support/ \ > -G http://pkg.oracle.com/solaris/release/ solaris root@x86box:~# root@x86box:~# pkg publisher PUBLISHER TYPE STATUS P LOCATION solaris origin online F https://pkg.oracle.com/solaris/support/ root@x86box:~# beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- s11.3 - - 14.42M static 2015-10-15 13:14 s11.3_plus_ss12.5_rtlibs NR / 46.00G static 2016-06-04 13:03 root@x86box:~# pkg update --accept --be-name s11.3_sru09 entire ... A clone of s11.3_plus_ss12.5_rtlibs exists and has been updated and activated. On the next boot the Boot Environment s11.3_sru09 will be mounted on '/'. Reboot when ready to switch to this updated BE. Updating package cache 1/1 root@x86box:~# beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- s11.3 - - 14.42M static 2015-10-15 13:14 s11.3_plus_ss12.5_rtlibs - - 10.15M static 2016-06-04 13:03 s11.3_sru09 NR / 47.83G static 2016-06-04 13:23 root@x86box:~# reboot Connection to x86box.example.com closed by remote host. Connection to x86box.example.com closed. ...
The terminal session shows how to verify the following as a normal user:
The system has been updated to Oracle Solaris 11.3 SRU09.
The sunpro-incorporation package remains at the version previously updated from the Oracle Solaris 11 release repository.
(x86box)% beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- s11.3 - - 14.42M static 2015-10-15 13:14 s11.3_plus_ss12.5_rtlibs - - 10.15M static 2016-06-04 13:03 s11.3_sru09 NR / 47.83G static 2016-06-04 13:20 (x86box)% pkg list entire NAME (PUBLISHER) VERSION IFO entire 0.5.11-0.175.3.9.0.4.0 i-- (x86box)% pkg list sunpro-incorporation NAME (PUBLISHER) VERSION IFO consolidation/sunpro/sunpro-incorporation 0.5.11-0.175.3.9.0.2.0 i--
Now that the system entire package has been updated, the sunpro-incorporation package is in sync with the rest of the system.
The terminal session shows the root user locking the sunpro-incorporation package in sync with the rest of the system.
(x86box)% su - root Password: ... root@x86box:~# pkg facet FACET VALUE SRC facet.version-lock.consolidation/sunpro/sunpro-incorporation False local root@x86box:~# pkg change-facet facet.version-lock.consolidation/sunpro/sunpro-incorporation=true Packages to change: 1 Variants/Facets to change: 1 Create boot environment: No Create backup boot environment: Yes PHASE ITEMS Installing new actions 1/1 Updating package state database Done Updating package cache 0/0 Updating image state Done Creating fast lookup database Done Updating package cache 1/1 root@x86box:~# beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- s11.3 - - 14.42M static 2015-10-15 13:14 s11.3_plus_ss12.5_rtlibs - - 10.15M static 2016-06-04 13:03 s11.3_sru09 NR / 47.83G static 2016-06-04 13:20 s11.3_sru09-backup-1 - - 100.0K static 2016-06-04 14:23 root@x86box:~# pkg facet FACET VALUE SRC facet.version-lock.consolidation/sunpro/sunpro-incorporation True local root@x86box:~#