On 02/15/12 11:57, David Sechrest wrote:
I have my publisher search order configured as follows:

% pkg publisher
PUBLISHER                             TYPE     STATUS   URI
cacao                                 origin   online   
file:///var/tmp/delta/OpsCenterAgent/ac-archive.p5p/
solaris                               origin   online   
http://pkg.oracle.com/solaris/release/

When I attempt to install /library/cacao it fails with:

% pkg install -nv /library/cacao
Creating Plan /
pkg install: No matching version of library/cacao can be installed:
   Reject:  
pkg://cacao/library/[email protected],5.11-0.175.1.4.0.0.0:20120207T165318Z
   Reason:  This version is excluded by installed incorporation 
pkg://solaris/consolidation/cacao/[email protected],5.11-0.174.0.0.0.0.0:20110921T190516Z

However, the version required by the installed cacao-incorporation is available 
from the solaris
publisher. I would have thought that even though the cacao publisher is first 
in the search order
that if the required version couldn't be found there then the next publisher in 
the list would
be searched for a compatible version. The manpages indicate that with my config 
the cacao publisher
should be searched first but what I'm seeing is that it's not just searched 
first, it's the only
pub searched. Is this a bug?

This is not a bug.

Searched first there means that it looks for the first publisher that offers that package, and then stops if it finds a match based on the specified input.

Since you didn't specify a version, and you didn't specify a publisher, only versions of /library/cacaco from the 'cacao' publisher will be matched.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to