Moving to Ubuntu 20.04 LTS

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).

APT 2.0

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*

Diffuse

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

Shutter has been gone from Ubuntu repositories since the 18.10 release.

Shutter is pre-installed on UMix 20.04. If you are using another distribution you can install it from the repository maintained by LinuxUprising.

sudo add-apt-repository ppa:linuxuprising/shutter
sudo apt-get update
sudo apt install shutter

VirtualBox

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.

7 thoughts on “Moving to Ubuntu 20.04 LTS

  1. Hi, is there a way to install conky-manager in Ubuntu 2020.04. I get the error: The repository ‘http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal Release’ does not have a Release file.
    The .deb file does not run. Is it related to python 2?

    Like

  2. Hi,
    I am getting an error when updating:
    The repository ‘http://ppa.launchpad.net/teejee2008/ppa/ubuntu focal Release’ does not have a Release file
    Is there a way to fix this?
    Thank you,

    Like

  3. Hi
    Great guide. Seems like Virtualbox worked great after upgrading to 20.04 and implementing the steps you outlined above but now when I try to start a VM with virtual box I see the following error. Running ‘/sbin/vboxconfig’ as root doesn’t resolve. Any ideas? Thanks

    Kernel driver not installed (rc=-1908)

    The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing

    ‘/sbin/vboxconfig’

    as root.

    If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system’s documentation for more information.

    where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) – The support driver is not installed. On linux, open returned ENOENT.

    Like

  4. I have a 32 bit install of Ubuntu 18.04, the result of years of upgrades that began on a 32 bit system. I want to do a clean install of the 64 bit 18.04 or 20.04 and migrate my installed programs and settings and data. Could Aptik be part of making that work?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s