[pkg-netfilter-team] Bug#926728: Removing the package breaks the alternative on usr-merge system

Arturo Borrero Gonzalez arturo at debian.org
Tue Apr 9 17:58:45 BST 2019


On 4/9/19 6:34 PM, Laurent Bigonville wrote:
> Package: ebtables
> Version: 2.0.10.4+snapshot20181205-2
> Severity: serious
> 
> Hello,
> 
> On system with usr-merge, removing ebtables breaks the alternative.
> 
> The postinst script install symlinks from /sbin to /usr/sbin, in the
> prerm script these symlinks are removed. BUT ebtables also add itself as
> an alternative for ebtables implementations.
> 
> That means that the symlinks installed by update-alternatives are
> rm when the package is removed.
> 
> Not too sure how to fix this, maybe the prerm script should check if the
> symlinks directly point to a real file and only remove them in that
> case?
> 

Thanks for the report!

I don't use usr-merge, so it would be great if you can provide concrete examples
of which files and which symlinks are affected by the bug you are describing,
and what would be the right state after package removal for them.

regards.



More information about the pkg-netfilter-team mailing list