Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go


Ubuntu Upgrade

20201110 A command line method to upgrade your installation of Ubuntu to a new release (new releases happen every six months, in April and October) is using do-release-upgrade:

$ wajig update
$ wajig distupgrade
$ do-release-upgrade

If for some reason that is problematic then the traditional upgrade path is simply to edit the /etc/apt/sources.list file to identify the new repository. There may be further files in /etc/apt/sources.list.d/ that also require updating.

In the following example the distribution is updated from bionic to focal.

$ sudo apt update; sudo apt install python3-pip
$ sudo pip3 install wajig; wajig update; wajig distupgrade
$ sudo perl -pi.bak -e 's|bionic|focal|g' /etc/apt/sources.list
$ wajig update; wajig distupgrade

This approach works but is not generally recommended.

Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. Creative Commons ShareAlike V4.