On 8/20/12 4:52 PM, Brock Pytlik wrote:
On 08/20/12 16:44, Brock Pytlik wrote:
[snip]
- Frozen error messages are a real bummer... Not your doing, but I'm a bit
surprised the solver doesn't diagnose when something's frozen and
explicitly give that as cause rather than dumping the "no solutions to
satisfy constraints" message.
Well, it does if you specify a version.
###############################################################################
# Update with 'entire@latest' with frozen U1 build 20 entire
###############################################################################
$ pkg update -n entire@latest
Creating Plan (Solver setup): -
pkg update: No matching version of entire can be installed:
Reject: pkg://solaris/[email protected],5.11-0.175.1.0.0.22.1:20120811T031139Z
Reason: This version is excluded by a freeze on entire at version
0.5.11,5.11-0.175.1.0.0.20.0:20120709T191431Z.
Package Status Summary (No changes made)
Package: entire
Installed (Frozen): 0.5.11-0.175.1.0.0.20.0
Latest: 0.5.11-0.175.1.0.0.22.1
Did you miss that example or did you want that output also in the case were
all the user does is 'pkg update -n'?
And to follow up to my own message, I'm surprised the -n output is what is.
Yeah, sorry, it was the stream of errors that seemed bizarre to me. The
output above is quite rational, and the Reason tells me what to do.
With Shawn's new messaging that points out "frozen", I'm happy with the
"no updates available" output without a version specified on the update
command.
The second case below is the one that seemed surprising, and I might have
extrapolated from there. But I agree now that I look again that it's kind
of a rare scenario . But it's still surprising. :)
I
would've expected it to just say "no updates available" like this one does:
###############################################################################
# Update from entire U1 build 20 to 22.1; userland-incorporation and osnet-
# incorporation already upgraded to build 22.0; 'entire' frozen
###############################################################################
$ pkg update -n entire
Package Status Summary
Package: consolidation/osnet/osnet-incorporation
Installed (Latest): 0.5.11-0.175.1.0.0.22.0
Package: consolidation/userland/userland-incorporation
Installed (Latest): 0.5.11-0.175.1.0.0.22.0
Package: entire
Installed (Frozen): 0.5.11-0.175.1.0.0.20.0
Latest: 0.5.11-0.175.1.0.0.22.1
No updates available for this image.
I guess I don't understand why this one is reporting an error instead of
"nothing to do":
###############################################################################
# Update from entire U1 build 20 to 22.1; userland-incorporation and osnet-
# incorporation already upgraded to build 22.0; entire 'frozen' -- no arguments
###############################################################################
update -n
Creating Plan (Running solver): /
pkg update: No solution was found to satisfy constraints
Plan Creation: Package solver has not found a solution to update to latest
available versions.
This may indicate an overly constrained set of packages are installed.
latest incorporations:
pkg://solaris/consolidation/solaris_re/[email protected],5.11-0.175.1.0.0.22.1:20120811T030340Z
pkg://solaris/consolidation/man/[email protected],5.11-0.175.1.0.0.21.0:20120723T163455Z
pkg://solaris/consolidation/nvidia/[email protected],5.11-0.175.1.0.0.22.0:20120806T175117Z
pkg://solaris/consolidation/cns/[email protected],5.11-0.175.1.0.0.22.0:20120806T171558Z
pkg://solaris/consolidation/l10n/[email protected],5.11-0.175.1.0.0.22.1133:20120806T163802Z
pkg://solaris/consolidation/desktop/[email protected],5.11-0.175.1.0.0.22.0:20120806T171142Z
pkg://solaris/consolidation/X/[email protected],5.11-0.175.1.0.0.22.1312:20120806T153710Z
pkg://solaris/consolidation/install/[email protected],5.11-0.175.1.0.0.22.1718:20120806T151348Z
pkg://solaris/consolidation/desktop/[email protected],5.11-0.175.1.0.0.22.0:20120806T171141Z
pkg://solaris/consolidation/ips/[email protected],5.11-0.175.1.0.0.22.1:20120811T030330Z
Dependency analysis is unable to determine exact cause.
Try specifying expected results to obtain more detailed error messages.
Package Status Summary (No changes made)
Package: consolidation/osnet/osnet-incorporation
Installed (Latest): 0.5.11-0.175.1.0.0.22.0
Package: consolidation/userland/userland-incorporation
Installed (Latest): 0.5.11-0.175.1.0.0.22.0
Package: entire
Installed (Frozen): 0.5.11-0.175.1.0.0.20.0
Latest: 0.5.11-0.175.1.0.0.22.1
I think I'll look into this as it bothers me a bit :/
liane
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss