Control: found -1 1.17.0

Hi!

On Sat, 2013-10-05 at 22:32:32 +0200, Robert Luberda wrote:
> Package: dpkg
> Version: 1.17.1
> Severity: important

> When package is installed the triggers are processed:
[…]

> But when packages is removed, no trigger is run:
> 
>   > sudo env LC_ALL=C aptitude remove zsh-doc
>   The following packages will be REMOVED:
>     zsh-doc
>   0 packages upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
>   Removing zsh-doc ...
> 
> 
> Not running triggers on package removal means that package that
> registers the trigger cannot undo actions that it done during
> installation (in the above example  zsh-doc doc-base's documentation
> didn't get unregistered).

Indeed, this is a regression introduced in 1.17.0 as part of an
optimization work, the problem is that 1.17.0 only activates file
triggers for paths that change (w/o their parents), but on removal
directories might not be acted on if they are shared with other
packages. So I've switched the code to activate all parents of
removed paths when removing them, in the same way done for conffile
handling. This will be included with 1.17.2.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to