Adding and Updating Software in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Preview the Update Operation

The following command shows which packages, if any, would actually be installed by an update. Because the -v option is specified, this command shows the full FMRIs, including versions, of all 627 packages that would be updated, the three packages that would be removed, and the one new package that would be installed. This example omits most of that output and only shows the entire package. Because the -n option is specified, no update is actually done. Review this output before you perform an update without the -n option.

$ pkg update -nv
            Packages to remove:        3
           Packages to install:        1
            Packages to update:      627
     Estimated space available: 48.43 GB
Estimated space to be consumed:  3.14 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.1.0.0.24.2:20120919T190135Z
...

The preceding example shows that the pkg:/entire incorporation package for Oracle Solaris 11.1 would be installed.

  • All installed packages that are constrained by the entire incorporation would be updated accordingly.

  • Because no package FMRI was specified, installed packages that are not constrained by the entire incorporation would also be updated. All installed packages would be updated to the newest version allowed by the constraints imposed on the system by installed package dependencies and publisher configuration.

  • Installed packages might be removed and new packages might be installed if updated installed packages specify new dependencies.