With recursive uninstall working again in my workspace, I've discovered
that even removing a leaf package likely requires a recursive uninstall,
because slim_install has a "required" dependency on it.

That leads me to believe that slim_install is doing the wrong thing with
its dependencies.  They should probably be optional instead of required.
Of course, then you actually need some mechanism to make installation of
slim_install actually install all its dependencies.  We have the notion of
a "require optional" policy, but weak support for it.

My idea was to have a commandline flag for install that would turn on
following optional dependencies just for packages specified on the
commandline (optional dependencies specified further down in the tree would
respect only the image-wide policy).

Unfortunately, that has the downside that for people actually wanting to
install slim_install or redistributable (or, more pointedly, gcc-dev or
ss-dev, which would naturally have the same change made to them), they'd
have to know to specify the magic flag, or they'd just get a single,
seemingly empty package installed.

Any thoughts?

I'm planning on fixing the recursive uninstall even with this issue
floating, since you get a pretty straightforward message, and there's no
real harm done if you do uninstall "slim_install", so if anyone disagrees
with that, please holler.

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

Reply via email to