[Pkg-utopia-maintainers] Bug#745621: modemmanager: pre-removal script fails (with systemd)

Ansgar Burchardt ansgar at debian.org
Wed Apr 23 12:37:49 UTC 2014


Package: modemmanager
Version: 1.0.0-4
Severity: important

Removing modemmanager from my desktop system at work fails:

+---
| # apt-get purge modemmanager
| Reading package lists... Done
| Building dependency tree       
| Reading state information... Done
| The following packages will be REMOVED:
|   modemmanager*
| 0 upgraded, 0 newly installed, 1 to remove and 18 not upgraded.
| After this operation, 2191 kB disk space will be freed.
| Do you want to continue? [Y/n] 
| (Reading database ... 333498 files and directories currently installed.)
| Removing modemmanager (1.0.0-4) ...
| Job for ModemManager.service canceled.
| dpkg: error processing package modemmanager (--purge):
|  subprocess installed pre-removal script returned error exit status 1
| Errors were encountered while processing:
|  modemmanager
| E: Sub-process /usr/bin/dpkg returned an error code (1)
+---

The system runs systemd/204-8.

The prerm script fails in the only line related to systemd:
    deb-systemd-invoke stop ModemManager.service
So the actual problem might be in init-system-helpers.

Ansgar

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages modemmanager depends on:
ii  init-system-helpers    1.18
ii  libc6                  2.18-4
ii  libglib2.0-0           2.40.0-2
ii  libgudev-1.0-0         204-8
ii  libmbim-glib0          1.8.0-1
ii  libmm-glib0            1.0.0-4
ii  libpolkit-gobject-1-0  0.105-4
ii  libqmi-glib0           1.4.0-1

Versions of packages modemmanager recommends:
ii  usb-modeswitch  2.1.1+repack0-1

modemmanager suggests no packages.

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list