Page 1 of 1
(9 posts)

I think I received a notification to upgrade a few weeks ago but didn't want to do it at the time. Now I am ready but my system doesn't show an update available anymore. I've tried "apt update/upgrade" and do-release-upgrade and "apt dist-upgrade". None of which show any available upgrades. I accept that I could have caused the problem but cannot find a way to trigger the upgrade. Can anyone offer some suggestions?

You'd be better off to do a clean fresh install, as you'd get a much better result. Even though I was able to upgrade all my computers, I ended up reformatting one computer and saw a big difference. Then I ended up reformatting all of my computers, and it was worth it in my opinion!

If you've selected the traditional Debian path, you're going to need to change the /etc/apt/sources.list file and replace the name of your previous release with bionic. So, if you're on 16.04, replace every instance of xenial with bionic. If you currently have 17.10, replace artful with bionic.

This process can be automated by using the following sed command:

$ sudo sed -i 's/xenial/bionic/g' /etc/apt/sources.list

Then, look in /etc/apt/sources.list.d/. Change any files in there the same way. If you end up getting an error when you try to update Ubuntu, use artful until those repositories are updated.

Now, you can run the Ubuntu dist upgrade. First, update the Apt sources. Then, run the Ubuntu upgrade.

$ sudo apt update && sudo apt -y dist-upgrade

The upgrade should take a bit of time. Chances are, every package on the system will be upgraded. When the Ubuntu upgrade does finish, reboot the system. When the system comes back up, you'll be running Ubuntu 18.04 LTS Bionic Beaver!