Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

OpenSolaris 2008.11 Image Packaging System Guide
Previous Next

Basic Rules of pkg(5) Command Multi-Repository Support

When multiple repositories are associated with an installation image and when using the pkg command-line interface (CLI) with only package names, the following rules apply. These rules can be overridden in the CLI by using explicit authorities and package version numbers.

Table 2-1 Rules for Multi-Repository Support

Package Installation Type

Rules When Only Package Names Are Provided

New package installations

The latest available version of new packages are always installed from the preferred authority unless the authority is provided in the FMRI during installation. Even if later versions of the package are available in other authorities, those later versions are not installed by default.

The FMRI includes descriptive information about the package, such as the package name, version information, and date. See pkg(1) Uses FMRIs.

Package updates: package originally installed from preferred

If the package was originally installed from the preferred authority, then the latest available update of the package can be installed from the _current_ preferred authority. The package can be install from the _current_ preferred even if the preferred authority designation had been moved to another authority after the package had been originally installed. Even if later versions of the package are available in other authorities, those later versions are not installed by default.

Package updates: package originally installed from non-preferred

If the package was originally installed from a non-preferred authority, then the latest available update of the package is installed from the authority from which the package was originally installed. Even if later versions of the package are available in other authorities, those later versions are not installed by default.

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire