With IPS, you can update all of the packages on your system that have available updates. Or, you can update individual packages that are not constrained by package dependencies or image policy. If a package is constrained, a message indicating what constraint is preventing the installation or update is provided. Package constraints generally represent a dependency or a version issue. For some package installation or updates, clone and backup BE creation is separate. If a clone is created, the changes are made in the clone and the current BE is not touched. If a backup BE is created, the changes are made in the current BE. To see the changes, you must reboot the system. If you are not satisfied with the changes, you can reboot to the backup BE. The use of pkg options and image policy settings enable you to specify a new or backup BE.
The following options are available:
Adding software packages after an installation – To add packages, use the pkg install command. See Chapter 3, Installing and Updating Software Packages, in Adding and Updating Software in Oracle Solaris 11.2 .
For instructions on adding packages that include the Oracle Solaris Desktop (GNOME 2.30) after an installation, see Adding Software After a Text Installation in Installing Oracle Solaris 11.2 Systems .
Updating all of the packages on your installed system –Update all of the packages on your system that have available updates as follows:
# pkg update entire
Depending on your local package repository or publisher status, your system could be updated automatically from one Oracle Solaris 11 release to a subsequent Oracle Solaris 11 release. For more information about controlling a system upgrade, see Chapter 4, Updating or Upgrading an Oracle Solaris Image, in Adding and Updating Software in Oracle Solaris 11.2 .
For an example of how to use this command to update a BE, see Managing Boot Environments.
Display the list of installed packages that have updates available as follows:
# pkg list -u
Install package updates that deliver fixes – Apply Support Repository Updates (SRUs) as needed. SRUs occur on a regular basis and take the place of maintenance updates or patch bundles that are used in Oracle Solaris 10.