On Thu, Nov 13, 2008 at 01:39:51PM -0800, Ed McKnight wrote:

> Question on 'requires' dependency on common component and recursive removal:
> 
> My package depends upon some common component, say a webserver. If I 
> specify 'requires' then my install will suck in the webserver. Good. If 
> I then do recursive uninstall the webserver would also be removed, 
> right?

I don't think so -- recursive removal means that if you recursively remove
the webserver, all packages that depend on it (and so on to the leaves)
will be removed as well.

There's an RFE for a "group package" which would do what I think you're
looking for -- add your package which brings in a bunch of dependencies,
and when removing your package, it would remove all those dependencies, as
long as nothing else depends on them.  But that's not implemented yet (see
bug 1728).

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

Reply via email to