This article provides a few tips and suggestions for people who are moving from Ubuntu 18.04 LTS (Bionic) to Ubuntu 20.04 LTS (Focal).
Ubuntu 20.04 includes APT 2.0 which is a wrapper around apt-get, apt-cache and related commands.
APT 2.0 now supports aptitude-style patterns, which means that the old syntax no longer works.
Running the following will give an error:
❯ sudo apt purge libreoffice* Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package libreoffice*
The new syntax is as follows:
sudo apt purge '?name(libreoffice*)'
If you find this tedious to use, just use the good old apt-get command:
sudo apt-get purge libreoffice*
If you work with text files you may be familiar with Diffuse, which is an amazing tool for comparing and merging text files.
With Ubuntu 20.04 Python 2 support has been dropped in favor of Python 3, which means some Python 2 apps and dependencies are no longer included in the repository.
Diffuse is no longer available but you can use Meld. Meld can compare both files and folders, and is a decent alternative for Diffuse.
Shutter has been gone from Ubuntu repositories since the 18.10 release.
sudo add-apt-repository ppa:linuxuprising/shutter sudo apt-get update sudo apt install shutter
Oracle’s repository for VirtualBox is not yet updated for Focal. You can install it from the Bionic branch in the meantime.
# add bionic repo echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib" | sudo tee "/etc/apt/sources.list.d/oracle_vbox.list" # add public key wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - # install virtualbox sudo apt-get update sudo apt-get install virtualbox-6.1
VirtualBox packages for Bionic depend on libvpx5 which has been superseded by libvpx6 in Focal. You need to grab the libvpx5 package from Bionic and install it before you run the above commands.