IPS packages were introduced with the Oracle Solaris 11 operating system. Each IPS package is described by a Fault Managed Resource Indicator (FMRI), and you use the pkg (1) commands to perform the SRU update. Alternatively, you can also use the scinstall –u command to perform an SRU update.
You might want to update a specific package to use an updated Oracle Solaris Cluster data service agent.
For example, to update a package from a specific publisher, specify the publisher name in the pkg-fmri.
# pkg update pkg-fmri
![]() | Caution - If you use the pkg update command with no pkg-fmri specified, all installed packages that have updates available are updated. |
If a newer version of an installed package is available and is compatible with the rest of the image, the package is updated to that version. If the package contains binaries that have the reboot-needed flag set to true, then performing a pkg update pkg-fmri automatically creates a new boot environment and after the update you boot into the new boot environment. If the package you are updating does not contain any binaries that force a reboot, then the pkg update command updates the live image and a reboot is not necessary.
For example:
# pkg change-facet facet.version-lock.ha-cluster/data-service/weblogic=false # pkg update ha-cluster/data-service/weblogic
If you want to freeze an agent and prevent it from being updated, perform the following steps.
# pkg change-facet facet.version-lock.pkg name=false # pkg freeze pkg name
For more information on freezing a specific agent, see Controlling Installation of Optional Components in Adding and Updating Software in Oracle Solaris 11.2 .
# pkg verify -v pkg-fmri