Package: lvm2 Version: 2.02.176-4 Severity: normal Dear Maintainer,
Attempting to `apt-get remove lvm2` fails in the pre-removal script: jagerman@keynes:~$ sudo apt-get -y remove lvm2 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: lvm2 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 3,374 kB disk space will be freed. (Reading database ... 343047 files and directories currently installed.) Removing lvm2 (2.02.176-4) ... Syntax: /usr/bin/deb-systemd-invoke <action> <unit file> [<unit file> ...] dpkg: error processing package lvm2 (--remove): installed lvm2 package pre-removal script subprocess returned error exit status 1 Failed to start lvm2-monitor.service: Unit dm-event.socket is masked. Syntax: /usr/bin/deb-systemd-invoke <action> <unit file> [<unit file> ...] Errors were encountered while processing: lvm2 E: Sub-process /usr/bin/dpkg returned an error code (1) -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/bash Init: systemd (via /run/systemd/system) Versions of packages lvm2 depends on: pn dmeventd <none> ii dmsetup 2:1.02.145-4 ii libblkid1 2.30.2-0.1 ii libc6 2.24-17 pn libdevmapper-event1.02.1 <none> ii libdevmapper1.02.1 2:1.02.145-4 pn liblvm2app2.2 <none> ii libreadline5 5.2+dfsg-3+b1 ii libsystemd0 235-3 ii libudev1 235-3 ii lsb-base 9.20170808 Versions of packages lvm2 recommends: pn thin-provisioning-tools <none> lvm2 suggests no packages. -- no debconf information