PDA

View Full Version : [ubuntu] Upgrade to 18.04 LTS issues, involving systemd



ashleydrees
May 7th, 2018, 03:14 PM
I am running ESXi and trying to upgrade a file/print server from 16.x.lts to 18.x LTS and the upgrade failed. I still have a running system and have not yet rebooted it - i DID run "do-release-upgrade -d" which might be the root of my problem, so if anyone has any wise words for me, i'd be very grateful.

dino99
May 7th, 2018, 03:57 PM
Be sure systemd is completly installed: sudo apt-get install --reinstall systemd udev systemd-sys
Do the same with the metapackage (ubuntu-desktop, or the one you should use) to glance at the possible missing packages

Run the sleaning scripts: clean/autoclean/autoremove
Check the sources.list, and if needed, downgrade to genuine version (via ppa-purge)
And browse the output of 'journalctl -b' to find 'warnings (bright lines) & 'errors' (red lines)

ashleydrees
May 7th, 2018, 04:01 PM
Wish i had seen that before i forced a reboot... down to recovery shell now... have to grab a 18.04 LTS ISO and boot into recover.

ashleydrees
May 7th, 2018, 04:53 PM
Ah well. in the recovery shell, i do not have any desktop installed as it is an ESXi guest, it does not find systemd-sys only systemd-sysv but even that will not install.

ashleydrees
May 7th, 2018, 05:59 PM
Ah well, things are a lot worse now, but also better, thanks for your help, the do-release-upgrade did not seem to do much of what i expected and left me with a halfway house upgrade - my sources.list had not been updated to bionic so the whole system was still at xenial no wonder it was having issues. Sadly i did not realise this issue quick enough... serves me right for playing mandolin whilst updating...