[systemd] package modemmanager 1.0.0-2ubuntu1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 100

Bug #1314795 reported by Anders Kaseorg
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
modemmanager (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Preparing to unpack .../modemmanager_1.0.0-4git1_amd64.deb ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
invoke-rc.d: unknown initscript, /etc/init.d/modemmanager not found.
dpkg: warning: subprocess old pre-removal script returned error exit status 100
dpkg: trying script from the new package instead ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
invoke-rc.d: unknown initscript, /etc/init.d/modemmanager not found.
dpkg: error processing archive /var/cache/apt/archives/modemmanager_1.0.0-4git1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 100
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
invoke-rc.d: unknown initscript, /etc/init.d/modemmanager not found.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 100

ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: modemmanager 1.0.0-2ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.14.2-0ubuntu1
Architecture: amd64
Date: Wed Apr 30 16:30:17 2014
DuplicateSignature: package:modemmanager:1.0.0-2ubuntu1:subprocess new pre-removal script returned error exit status 100
EcryptfsInUse: Yes
ErrorMessage: subprocess new pre-removal script returned error exit status 100
InstallationDate: Installed on 2010-12-05 (1242 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
SourcePackage: modemmanager
Title: package modemmanager 1.0.0-2ubuntu1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 100
UpgradeStatus: Upgraded to utopic on 2013-10-31 (181 days ago)

Revision history for this message
Anders Kaseorg (andersk) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in modemmanager (Ubuntu):
status: New → Confirmed
Revision history for this message
Erik B. Andersen (erik-b-andersen+azendale) wrote :

I can confirm this on a fresh utopic systemd install.

Revision history for this message
Tim Lunn (darkxst) wrote :

with the updated invoke-rc-d, there seems to be a case issue.

initscript is trying to call modemmanager.service, but the actual (upstream) service file is ModemManager.service

Martin Pitt (pitti)
Changed in modemmanager (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → Medium
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :
Changed in modemmanager (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
status: In Progress → Fix Committed
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package modemmanager - 1.0.0-4git2

---------------
modemmanager (1.0.0-4git2) utopic; urgency=medium

  * Add systemd unit link to shadow upstart job (LP: #1314795)
 -- Martin Pitt <email address hidden> Mon, 02 Jun 2014 09:43:41 +0200

Changed in modemmanager (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.