Package: ifupdown2
Version: 1.0~git20161101-1
Severity: serious

Hi,

ifupdown doesn't use the diversions correctly

1. diverting conffiles does not work well, so just use Breaks against
the bash-completion versions shipping the ifup etc. completion in /etc
Do not forget to clean up the now obsolete diversions in /etc in the
preinst or postinst!

2. unconditionally install the diversions, installing bash-completion
after ifupdown2 breaks right now with a file overwrite error since the
diversions are not in place (this is how I noticed the problems)
(also upgrading ifupdown2 will suddenly install more diversions since
it finds more of the files that could be diverted - because the
installed ifupdown2 version shipped them)

3. unconditionally install/remove the diversions without checking
whether they exist, running dpkg-divert multiple times is idempotent


Andreas

Reply via email to