package sssd-common 1.11.8-0ubuntu0.6 failed to install/upgrade: subprocess new pre-removal script returned error exit status 5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sssd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
If you have the `systemd` package installed, the upgrade of sssd-common fails because it thinks systemd is used and the sssd.service exists (which it tries to stop in the pre removal script).
In my case the systemd package was installed because at some point I installed ubuntu-
To resolve the problem I had to remove the part that tried to stop the sssd.service from the prerm script in /var/lib/
After that I also uninstalled ubuntu-
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: sssd-common 1.11.8-0ubuntu0.6
ProcVersionSign
Uname: Linux 4.4.0-79-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.24
Architecture: amd64
Date: Tue Jun 20 10:40:21 2017
DuplicateSignature: package:
ErrorMessage: subprocess new pre-removal script returned error exit status 5
InstallationDate: Installed on 2015-12-08 (559 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
RelatedPackageV
dpkg 1.17.5ubuntu5.7
apt 1.0.1ubuntu2.17
SourcePackage: sssd
Title: package sssd-common 1.11.8-0ubuntu0.6 failed to install/upgrade: subprocess new pre-removal script returned error exit status 5
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
From terminal log:
Preparing to unpack .../sssd- common_ 1.11.8- 0ubuntu0. 7_amd64. deb ...
Failed to issue method call: Unit sssd.service not loaded.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
Failed to issue method call: Unit sssd.service not loaded.