On 7/29/2014 10:51 AM, Bryan Drewery wrote:
> On 7/29/2014 10:46 AM, Andrea Venturoli wrote:
>> On 07/28/14 20:28, Andrea Venturoli wrote:
>>> Hello.
>>>
>>> I was forced to switch to pkgng on a 9.2 box and I'm now noticing a
>>> strange behaviour.
>>>
>>> Before, "pkg_deinstall -R foo" would deinstall foo and all ports on
>>> which foo depended, except those who were needed by other ports.
>>>
>>> Now, "pkg_deinstall -R foo" will deinstall foo, all ports on which foo
>>> depends and all ports depending on the ports on which foo depends.
>>>
>>> E.g.
>>> Port A depends on B
>>> Port B depends on C
>>> Port D depends on C
>>>
>>> With the old behaviour, "pkg_deinstall -R A" would deinstall A and B
>>> (but not C).
>>> Now it will deinstall A, B, C and D.
>>
>> After some investigation, this broke after the upgrade to pkg 1.3, in
>> which *by default* "pkg delete" seems to be the same as "pkg delete -R".
> 
> Yes, pkg now requires -f to have the old behavior. I'll update
> portupgrade for it.

I have released a quick hack to workaround this by passing in -f. I may
rework it later though and keep the new behavior. pkg_deinstall/pkg_glob
already supports using -f optionally.

-- 
Regards,
Bryan Drewery

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to