[Bug 1787540] [NEW] 16.04 to 18.04.1 ubgrade fails because of diversion of org.freedesktop.systemd1.service
MarcS
1787540 at bugs.launchpad.net
Fri Aug 17 07:48:24 UTC 2018
Public bug reported:
I ran do-release-upgrade from a terminal. The process eventually failed
because of "too many errors". The root cause appears to be this:
Removing systemd-shim (9-1bzr4ubuntu1) ...
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
I appear to have worked around this by manually removing
/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service,
purging systemd-shim via `dpkg -P` and then doing `apt-get install -f`,
which completed without errors.
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1787540
Title:
16.04 to 18.04.1 ubgrade fails because of diversion of
org.freedesktop.systemd1.service
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
I ran do-release-upgrade from a terminal. The process eventually
failed because of "too many errors". The root cause appears to be
this:
Removing systemd-shim (9-1bzr4ubuntu1) ...
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
I appear to have worked around this by manually removing
/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service,
purging systemd-shim via `dpkg -P` and then doing `apt-get install
-f`, which completed without errors.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1787540/+subscriptions
More information about the foundations-bugs
mailing list