Package: molly-guard Version: 0.6.1 Severity: important Tags: patch Dear Maintainer,
Installation fails with: trying to overwrite '/sbin/coldreboot', which is also in package kexec-tools 1:2.0.9-1 Looks we're missingthe preinst/postrm hooks to setup the diversion. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages molly-guard depends on: ii procps 2:3.3.10-2 molly-guard recommends no packages. molly-guard suggests no packages. -- no debconf information
diff -ur molly-guard-0.6.1/debian/molly-guard.postrm clean/debian/molly-guard.postrm --- molly-guard-0.6.1/debian/molly-guard.postrm 2015-08-31 12:05:30.170992359 +0100 +++ clean/debian/molly-guard.postrm 2015-08-29 18:37:14.000000000 +0100 @@ -19,7 +19,7 @@ case "$1" in remove) - for cmd in halt poweroff reboot shutdown cldreboot ; do + for cmd in halt poweroff reboot shutdown ; do dpkg-divert --package molly-guard --rename --remove /sbin/$cmd done rmdir --ignore-fail-on-non-empty /lib/molly-guard diff -ur molly-guard-0.6.1/debian/molly-guard.preinst clean/debian/molly-guard.preinst --- molly-guard-0.6.1/debian/molly-guard.preinst 2015-08-31 12:05:44.623418607 +0100 +++ clean/debian/molly-guard.preinst 2015-08-29 18:37:14.000000000 +0100 @@ -15,7 +15,7 @@ case "$1" in install|upgrade) mkdir -p /lib/molly-guard - for cmd in halt poweroff reboot shutdown coldreboot ; do + for cmd in halt poweroff reboot shutdown ; do dpkg-divert --package molly-guard --divert /lib/molly-guard/$cmd --rename /sbin/$cmd done ;;