[indiana-discuss] pkg uninstall without deps
Alan Coopersmith
Alan.Coopersmith at Sun.COM
Wed Dec 10 09:03:59 PST 2008
Shawn Walker wrote:
> Alexander wrote:
>> Sometimes I need force uninstall single package.
>> But in osol I can't do it. May be something like "pkg uninstall
>> --force" (without deps packages) must be implemented?
>
> "forced" install / uninstall is not planned at this time. For some
> reason a "break me" switch doesn't fill me with confidence and joy :-)
I could also use a switch like this, though I prefer to think of it as the
"I know what I'm doing more than you do" switch, even if it was an undocumented
"PKG_PLEASE_LET_ME_HURT_MYSELF" environment variable I had to set.
Currently our script to install new builds of the X packages for testing
uses similar overrides to SVR4 packages to allow us to pkgrm the old
packages and pkgadd the new ones. I tried porting this to allow it to
also work on an IPS system, but failed - I was basically having to do
recursive dependency checking myself, to list all the packages I'd have
to remove and then reinstall, which as you can imagine, is very large
when you get to checking the dependencies the package with libX11 in.
This is one of the things that is currently forcing us to require our
developers stay on Nevada and not move to OpenSolaris. (I know the
right long term solution is to dump the script and just get the
developers to setup their own depots and image-update from them,
but a lot of work has to happen to make that as simple as our current
two command system of "make_release_packages" to build the SVR4
package set and "update-X" to install the SVR4 package set - maybe
once the people figuring out how to replace BFU have a solution we
can piggy back on it.)
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the indiana-discuss
mailing list