Can confirm that these steps BEFORE REBOOTING lead to a working 18.04 system after the 16.04 upgrade fails.
Maybe these steps could be added to the upgrade script
In psudocode:
if [ error due to systemd1.service ] then;
sudo mv /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.bak sudo apt-get install -f sudo apt dist-upgrade sudo apt autoremove
exit fi
Can confirm that these steps BEFORE REBOOTING lead to a working 18.04 system after the 16.04 upgrade fails.
Maybe these steps could be added to the upgrade script
In psudocode:
if [ error due to systemd1.service ] then;
sudo mv /usr/share/ dbus-1/ system- services/ org.freedesktop .systemd1. service /usr/share/ dbus-1/ system- services/ org.freedesktop .systemd1. service. bak
sudo apt-get install -f
sudo apt dist-upgrade
sudo apt autoremove
exit
fi