Adding and Updating Software in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Specifying the Version to Install

If you do not want to update to the newest version allowed, you can specify the package name on the pkg update command, including a portion of the version string. The following example shows how to specify the version of the entire incorporation to update to Oracle Solaris 11 11/11 SRU 13, even though a newer version would be allowed. Be sure to use the -nv options again and check the output again.

$ pkg update -nv entire@0.5.11,5.11-0.175.0.13
            Packages to remove:        2
           Packages to install:        1
            Packages to update:      486
     Estimated space available: 48.39 GB
Estimated space to be consumed:  2.50 GB
       Create boot environment:      Yes
     Activate boot environment:      Yes
Create backup boot environment:       No
          Rebuild boot archive:      Yes

Changed packages:
solaris
...
  entire
    0.5.11,5.11-0.175.0.10.0.5.0:20120803T182627Z -> 0.5.11,5.11-0.175.0.13.0.4.0:20121106T194623Z
... 

Some installed packages might not be dependent on any package that is constrained by the entire incorporation. Those packages will not be updated by updating just the entire incorporation. You can add those packages by name to the same pkg update command.