Final beta of the next Ubuntu long term support (LTS) release 20.04 was released earlier this week.
Seems pretty cool!
Upgrading to Ubuntu 20.04
Similar to previous posts on upgrading Ubuntu Linux (Upgrade from Hardy heron to Intrepid Ibex, for example), the procedure is:
- apt-get update
- apt-get upgrade
- apt-get dist-upgrade
- do-release-upgrade -d
The first 3 steps are preparing your OS for upgrade by installing all the possible updates within your current major release, and you may even be asked to reboot your Ubuntu system.
apt-get upgrade reported this:
157 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
apt-get dist-upgrade continued:
root@ubuntu:~ # apt-get dist-upgrade Reading package lists… Done Building dependency tree Reading state information… Done Calculating upgrade… Done The following NEW packages will be installed: linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-image-5.3.0-46-generic linux-modules-5.3.0-46-generic linux-modules-extra-5.3.0-46-generic The following packages will be upgraded: linux-generic linux-headers-generic linux-image-generic 3 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 73.4 MB of archives. After this operation, 356 MB of additional disk space will be used. Do you want to continue? [Y/n] y
First attempt to do-release-upgrade insisted on rebooting:
root@ubuntu:~ # do-release-upgrade -d Checking for a new Ubuntu release You have not rebooted after updating a package which requires a reboot. Please reboot before upgrading.
And it's the next do-release-upgrade after the reboot that did the actual distro upgrade:
Calculating the changes Calculating the changes Do you want to start the upgrade? 2 packages are going to be removed. 103 new packages are going to be installed. 1207 packages are going to be upgraded. You have to download a total of 906 M. This download will take about 1 hour 55 minutes with a 1Mbit DSL connection and about 1 day 11 hours with a 56k modem. Fetching and installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled. Continue [yN] Details [d]y
And thats' the end result: freshly upgraded Ubuntu VM: