Shawn - thanks. The opensolaris.org/dev vs. ipkg.sfbay/dev publisher appears to have been the root of my issue.
Some final questions:

- the "-O" option for pkg set-publisher is used by onu and your instructions below, yet I don't see it in the pkg man page.

- seems the README.pkg file often pointed to for "how to debug pkg problems" should explain the publisher issue I had (where my bits didn't include some of the the required packages (e.g. from swf) so the secondary publisher needs to be ipkg.sfbay). I started with an auto-install iso and everything I saw told me to change the publisher from pkg.opensolaris.org/release to pkg.opensolaris.org/dev. I had read the flag day email referenced on onnv.eng that points to ipkg.sfbay/dev but had not understood the significance of it.

Seems to me the above two, plus your comment below about a misleading error message, justify some documentation bugs against pkg.

Thanks again,
cb


On 04/ 7/10 03:16 PM, Shawn Walker wrote:
On 04/ 7/10 02:24 PM, Charles Binford wrote:

So using the full output of (you sent me off-list):

pkg install --no-refresh -nv \
consolidation/osnet/[email protected],5.11-0.137
...
                incorporate: pkg:/[email protected],5.11-0.137
FAIL: no suitable newer version for installed pkg pkg://opensolaris.org/[email protected],5.11-0.134:20100302T005446Z Ruled out pkg://on-nightly/[email protected],5.11-0.137:20100330T040736Z because: Suitable required dependency pkg:/library/[email protected],5.11-0.135:20100312T075501Z cannot be found
....

^^^^^^^^^^^^^^^^^

This is the real problem.  The solver's error message that:

Suitable required dependency pkg:/[email protected],5.11-0.137 cannot be found

...is misleading. What it should say is "was excluded" instead of cannot be found. It means "cannot be found" in the most literal sense -- that is, that the 137 version of SUNWcs couldn't be found in the list of packages that *can be used* for the operation. But of course that's rather confusing from an end-user perspective.

If you look at the manifest for [email protected],5.11-0.137, you'll see that it declares this dependency:

  depend fmri=pkg:/library/[email protected],5.11-0.135:20100312T075501Z

Since you've pointed your opensolaris.org publisher at http://pkg.opensolaris.org/dev, and your other repositories only contain b137+ packages, it failed.

If you simply execute:

  pfexec pkg set-publisher -O http://ipkg.sfbay/dev opensolaris.org

...then the b135 packages will be available and everything should work again. Please note that if you have any zones, you'll need to make this change there too possibly.

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

Reply via email to