On Fri, Dec 23, 2016 at 08:52:05PM +0100, Martin Steigerwald wrote: > merkaba:~> LANG=C aptitude reinstall atop > The following packages will be REINSTALLED: > atop > 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not > upgraded. > Need to get 0 B/142 kB of archives. After unpacking 0 B will be used. > (Reading database ... 581734 files and directories currently installed.) > Preparing to unpack .../atop_2.2.6-1~exp1_amd64.deb ... > Unpacking atop (2.2.6-1~exp1) over (2.2.6-1~exp1) ... > Setting up atop (2.2.6-1~exp1) ... > Failed to preset unit: File /etc/systemd/system/multi-user.target.wants/ > atop.service already exists. > /usr/bin/deb-systemd-helper: error: systemctl preset failed on atop.service: > No such file or directory > Processing triggers for systemd (232-8) ... > Processing triggers for man-db (2.7.6.1-2) ... > […]
Can you sprinkle /var/lib/dpkg/info/atop.postinst liberally with set -x so that we can see which exact command fails? I suspect this is an issue in the debhelper code as we really don't do anything special with the systemd units. I intend to ignore this issue for the unstable upload. Greetings Marc