> Anyone know offhand how the package install order is determined?

The order in which packages are installed is influenced by the dependencies 
each package
declares in the "depend(4)" file. The remaining order is non-deterministic - 
for initial install it is
typically the order in which the packages are declared in the clustertoc, for a 
zone install it is the
order in which the packages are returned when reading the "/var/sadm/pkg" 
directory.

A package can declare prerequisite and reverse dependencies. If package "A" 
declares that 
package "B" is a prerequisite package, then package "B" must be installed first 
before package 
"A" is installed. If package "A" declares that package "B" is a reverse 
dependency, then package 
"A" must be installed first before package "B" is installed.

A package can also declare an incompatible dependency, in which the existence 
of the
specified package (or version of the package) is not compatible with the 
declaring package.

For Solaris Nevada, 1679 of the 1707 packages on the Solaris DVD have "depend" 
files. In all
of those files, 10929 prerequisite dependencies are declared, 17 reverse 
dependencies are
declared.and 37 incompatible dependencies are declared.
 
 
This message posted from opensolaris.org

Reply via email to