| 
GNU/Linux Desktop Survival Guide
 by Graham Williams  | 
 | 
|||
Upgrade Ubuntu | 
20200901 The usual method is from the command line:
$ 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 for but is not generally recommended.