I am trying to upgrade from Ubuntu 16.04 LTS to 18.04 LTS.
No matter which upgrade command I try:
apt dist-upgrade, at some point in the upgrade I start getting numerous "Failed to connect to bus: No such file or directory" errors and eventually the upgrade process stops with an error and the following packages in error:
By manually intervening (running dpkg --configure on selected packages until all issues were resolved) I could eventually get all (remaining) packages installed and configured.
On my 3rd attempt I was able to get the furthest (by using
apt dist-upgrade) but even then I could not properly reboot - the next reboot would start reasonably OK, but starting with "Login Service", several services would fail to start (in approximately this order):
- Login Service (systemd-logind.service)
- Disk Manager
- Modem Manager (ModemManager.service)
- Network Manager (NetworkManager.service)
- /etc/rc.local Compatibility
- GNOME Display Manager (gdm.service)
- Bluetooth Service (bluetooth.service)
Even then, X11 was unable to initialise and I had no login prompt (CTRL-ALT-F1 would not give me a login prompt).
Clearly I missed some required packages in the manual intervention phase. Any suggestions?