On Feb 15, 2012, at 12:53 PM, Shawn Walker wrote: > 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.
It's quite possible I missed this in the IPS dev guide and manpages but otherwise IMHO that probably should be a little more explicitly stated. > > 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. What if I don't know what version I need or which publisher has the compatible version? thanks Dave > > -Shawn --- David Sechrest Phone: (408)276-5800 x15800 Systems Management Email: [email protected] Oracle Corporation _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
