package systemd-sysv 232-21ubuntu7.1 failed to install/upgrade: subprocess installed post-removal script returned error exit status 2

Bug #1728365 reported by Gururaj Banakar
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have this bug

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: systemd-sysv 232-21ubuntu7.1
ProcVersionSignature: Ubuntu 4.4.0-98.121-generic 4.4.90
Uname: Linux 4.4.0-98-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Sun Oct 29 15:33:20 2017
ErrorMessage: subprocess installed post-removal script returned error exit status 2
InstallationDate: Installed on 2015-05-22 (891 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
RelatedPackageVersions:
 dpkg 1.18.10ubuntu2
 apt 1.2.25
SourcePackage: systemd
Title: package systemd-sysv 232-21ubuntu7.1 failed to install/upgrade: subprocess installed post-removal script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Gururaj Banakar (gururaj-bnk) wrote :
tags: removed: need-duplicate-check
tags: added: zesty
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in systemd (Ubuntu):
status: New → Confirmed
Revision history for this message
era (era) wrote :

DpkgTerminalLog.txt contains this snippet near the end:

dpkg: considering removing systemd-shim in favour of systemd-sysv ...
dpkg: systemd-shim is not properly installed; ignoring any dependencies on it
dpkg: yes, will remove systemd-shim in favour of systemd-sysv
Preparing to unpack .../systemd-sysv_232-21ubuntu7.1_amd64.deb ...
Unpacking systemd-sysv (232-21ubuntu7.1) over (229-4ubuntu20) ...
Removing 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
dpkg-divert: error: rename involves overwriting '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with
  different file '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd', not allowed
dpkg: error processing archive /var/cache/apt/archives/systemd-sysv_232-21ubuntu7.1_amd64.deb (--unpack):
 subprocess installed post-removal script returned error exit status 2

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.