* Shawn Walker ([email protected]) wrote: > On Jun 17, 2009, at 9:36 AM, Alexander Eremin wrote: >> Whats about -r' flag for uninstall? > > > That only works for the dependencies. So, for example: > > foo depends on bar > > ..then: > > pkg uninstall -r bar > > Would remove foo and bar. > > But, pkg uninstall -r foo, would only remove foo.
Really? That seems totally backwards to me based on all the other package managers I've used that could uninstall dependencies. If I install foo and bar isn't installed then both foo and bar get installed. If I uninstall foo (using -r) and bar isn't a dependency for anything else I'd expect bar to get uninstalled as well. If both foo and bar are installed and I uninstall bar I'd expect a warning saying that bar is a dependency of foo. Why does it work the way you describe? I'm not really seeing the logic. Thanks, -- Glenn _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
