ozone wrote:
I have a remote system (with no removable media device) running build 86.
Based on list archives and bugs, I attempted to upgrade SUNWipkg to a "new
enough" version so that I could install 2009.06, whereupon I fell into this:
Package entire contains constraint that requires downgrade of installed pkg
pkg:/[email protected],5.11-0.123:20090911T203714Z
Did you remove the "entire" package or never install it? If so, it
isn't surprising that your system got into a bad state as it is
unconstrained once you do that.
Because there's no "pkg reinstall", and I didn't know to clone the BE prior
to attempting the upgrade, the only apparent remedy is "remove/install".
pfexec beadm create <name>
Then mount the new be, and use pkg -R <mountpoint> to perform operations.
However, having removed SUNWipkg, there's no way to install anything anymore.
I find it a little surprising that this is allowed -- IMHO there should be
more warning when you touch SUNWipkg this way. (Assuming there's ever another
flag day...)
Only solution I can think of is the BOFH approach: unpack a tarball with
enough SUNWipkg that "pkg fix" will work.
Yep. If you don't have an old boot environment to fallback on (or copy
the pkg software from) you'll have to do that.
These are the related bugs:
1254 "pkg uninstall SUNWPython" breaks the IPS framework
1261 we should not allow removal of SUNWipkg
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss