On 04/ 7/10 02:24 PM, Charles Binford wrote:
Shawn, here is the data you requested...

sq2-ks$ pfexec pkg -R /tmp/onu.n0aGkc list -af osnet-incorporation
NAME (PUBLISHER) VERSION STATE UFOXI
consolidation/osnet/osnet-incorporation 0.5.11-0.138 known -----
consolidation/osnet/osnet-incorporation (opensolaris.org) 0.5.11-0.134
installed u----
consolidation/osnet/osnet-incorporation (opensolaris.org) 0.5.11-0.133
known u----
consolidation/osnet/osnet-incorporation (opensolaris.org) 0.5.11-0.132
known u----
consolidation/osnet/osnet-incorporation (opensolaris.org) 0.5.11-0.131
known u----
consolidation/osnet/osnet-incorporation (opensolaris.org) 0.5.11-0.130
known u----
consolidation/osnet/osnet-incorporation (opensolaris.org) 0.5.11-0.129
known u----
consolidation/osnet/osnet-incorporation (opensolaris.org) 0.5.11-0.128
known u----
consolidation/osnet/osnet-incorporation (opensolaris.org) 0.5.11-0.127
known u----
sq2-ks$


sq2-ks$ pfexec pkg -R /tmp/onu.n0aGkc list -af SUNWcs
NAME (PUBLISHER) VERSION STATE UFOXI
SUNWcs 0.5.11-0.138 known -----
SUNWcs (opensolaris.org) 0.5.11-0.134 installed u----
SUNWcs (opensolaris.org) 0.5.11-0.133 known u----
SUNWcs (opensolaris.org) 0.5.11-0.132 known u----
SUNWcs (opensolaris.org) 0.5.11-0.131 known u----
SUNWcs (opensolaris.org) 0.5.11-0.130 known u----
SUNWcs (opensolaris.org) 0.5.11-0.129 known u----
SUNWcs (opensolaris.org) 0.5.11-0.128 known u----
... snip...

And Mark - obsolete didn't show anything, but renamed did. How does one
deal with those?

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