dpkg-divert: error: rename involves overwriting error after upgrading from 16.04 to 16.10
-
Using the terminal, rename
/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service
to/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.bak
:sudo mv /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.bak
Proceed to run
sudo apt upgrade
again.
Hopefully no more systemd-shim
errors should appear.
Rename the file back to what it was if you have any issues.