Check Whether the Packages You Want to Install Are Installable in This Image

If the package version you want is listed when you use the -af options, then use the same command again without the -f option:

$ pkg list -a package

If the version you want is still listed, then this package is not constrained and you should be able to install it without installing or updating any other packages.

If the version you want is not listed, then this version is available from configured publishers but not installable in this image. Reasons that a package is not installable can include the following:

  • The package is constrained by variant or facet settings.

  • The version of the package is constrained by a constraint package. You can update the constraining package or, in some cases, you can relax the constraint. For more information, see Cannot Satisfy Constraints.

  • The version of the package is constrained by a freeze operation. Run the pkg freeze command. The freeze could be on a package that has a require dependency on a different version of the package you want to install and both versions cannot be installed at the same time.