Go to main content

Updating Systems and Adding Software in Oracle® Solaris 11.4

Exit Print View

Updated: August 2018
 
 

Packages Are Not Updated as Expected

Error message: pkg update: The installed package package is not permissible.

If you use wildcards with an update operation, you might not see any error messages even though some packages that should have been updated were not updated. You might see an error message if you specify a package name without wildcards.

For example, the following operation might complete without error and yet not update any packages, even though you verified that newer packages are available from your configured publishers:

$ pkg update '*'

To get more information, instead of using the wildcard, specify the version of pkg:/entire to which you want to update:

$ pkg list -Hafv entire
pkg://solaris/entire@0.5.11,5.11-0.175.2.0.0.9.0:20130304T214506Z  ---
$ pkg update -nv pkg://solaris/entire@0.5.11,5.11-0.175.2.0.0.9.0:20130304T214506Z
Creating Plan (Solver setup): -
pkg update: The installed package compress/zip is not permissible.
  Reject:  pkg://solaris/compress/zip@3.0,5.11-0.175.2.0.0.7.0:20121119T070339Z
  Reason:  Excluded by proposed incorporation 'consolidation/userland/userland-incorporation'

In this example, the package compress/zip is preventing the update of the userland-incorporation constraint package, which is preventing the update of the pkg:/entire constraint package. The following command displays more information about the compress/zip package:

$ pkg list compress/zip
NAME (PUBLISHER)  VERSION                   IFO
compress/zip      3.0-5.11-0.175.2.0.0.7.0  if-

This output shows that the compress/zip package is frozen. Because the package is frozen, it cannot be updated.

$ pkg unfreeze compress/zip
compress/zip was unfrozen.

With the compress/zip package unfrozen, the original pkg update '*' operation should update all packages in the image that have updates available. See Locking Packages to a Specified Version for more information about the pkg freeze and pkg unfreeze commands.

The pkg sync-linked error shown in Sync Linked Package Cannot Be Installed is similar but indicates a package in a non-global zone is preventing the update.