This worked for me in quite a few upgrades. Before starting the upgrade to 18.04, still on 16.04:
mv /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service{,.bak} apt purge systemd-shim
It does not work in the opposite order! If you try that way, apt purge will complain about the service file.
This worked for me in quite a few upgrades. Before starting the upgrade to 18.04, still on 16.04:
mv /usr/share/ dbus-1/ system- services/ org.freedesktop .systemd1. service{ ,.bak}
apt purge systemd-shim
It does not work in the opposite order! If you try that way, apt purge will complain about the service file.