Jonathan Edwards wrote:
> On Nov 19, 2008, at 7:39 PM, Bart Smaalders wrote:
> 
>> Ed McKnight wrote:
>>> Suggestion: IPS to implement a package attribute, 'metapackage=true,'
>>> which would mean that the contained dependencies would be treated as
>>> reversed during uninstall, thus enabling the dependencies both to be
>>> automatically installed and uninstalled. Maybe there should be
>>> enforcement that nothing other than dependencies are contained, but  
>>> I'm
>>> not sure it's necessary.
>>>
>> We've talked about this; it's probably actually an attribute of the
>> dependency or a different type of dependency rather than an attribute
>> of the containing package.
>>
>> Some of this is waiting on our completion of capturing user intent,
>> for the following reason:
>>
>> pkg install foo
>> pkg install bar, which has a "meta-dependency" on foo
>> pkg uninstall bar
>>
>> should not uninstall foo, whereas in the case of:
>>
>> pkg install bar, which has a "meta-dependency" on foo
>> pkg uninstall bar
>>
>> it should... we cannot do this correctly w/o recording user intent.
> 
> how about something like:
> pkg uninstall -r foo

We already have -r.  Are you saying it should change somehow, or are you 
suggesting that's what someone should use?

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

Reply via email to