What to do When You See "Repository does not have a release file" Error in Ubuntu

Annoyed with 'Repository does not have a release file" Error in Ubuntu Linux? Here's what you can do to handle such errors.
Warp Terminal

One of the several ways of installing software in Ubuntu is by using PPA or adding third-party repositories. A few magical lines give you easy access to a software or its newer version that is not available by default in Ubuntu.

All thing looks well and good until you get habitual of adding additional third-party repositories and one day, you see an error like this while updating Ubuntu:

E: The repository ‘http://ppa.launchpad.net/numix/ppa/ubuntu focal Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

In this tutorial for Ubuntu beginners, I’ll explain what does this error mean, why do you see it and what can you do to handle this error?

Understanding “Repository does not have a release file” error

Let’s go step by step here. The error message is:

E: The repository ‘http://ppa.launchpad.net/numix/ppa/ubuntu focal release’ does not have a release file

The critical part of this error message is “focal release”.

You probably already know that each Ubuntu release has a codename. For Ubuntu 20.04, the codename is Focal Fossa. The “focal” in the error message indicates Focal Fossa which is Ubuntu 20.04.

The error is basically telling you that though you have added a third-party repository to your system’s sources list, this new repository is not available for your current Ubuntu version.

Why so? You are probably using a new version of Ubuntu and the developer has not made the software available for this new version.

At this point, I highly recommend reading this in-depth guide to understand the concept of the repositories in Ubuntu. Trust me, you won’t be disappointed.

Understanding Ubuntu’s Repository System [Beginner’s Guide]
Learn the underlying mechanism of the repository system in Ubuntu to better handle the package management and avoid common update errors.

How to know if the PPA/third party repo is available for your Ubuntu version

First, you should check your Ubuntu version and its codename using ‘lsb_release -a’ command:

abhishek@itsfoss:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04 LTS
Release:	20.04
Codename:	focal

As you can see, the codename it shows is focal.

Now, the next thing you can do is go to the website of the software in question.

This could be the tricky part but you can figure it out with some patience and effort.

In the example here, the error complained about http://ppa.launchpad.net/numix/ppa/ubuntu. It is a PPA repository and you may easily find its webpage. How, you may ask.

Use Google or a Google alternative search engine like Duck Duck Go and search for “ppa numix”. This should give you the first result from launchpad.net which is the website used for hosting PPA related code.

On the webpage of the PPA, you can go to the “Overview of published packages” and filter it by the codename of your Ubuntu version:

Check Repo Version

For non-PPA third-party repository, you’ll have to check of the official website of the software and see if the repository is available for your Ubuntu version or not.

What to do if the repository is not available for your Ubuntu version

In case when the repository in question is not available for your Ubuntu version, here’s what you can do:

  • Delete the troublesome repository from your list of repository so that you don’t see the error every time you run the update.
  • Get the software from another source (if it is possible).

To delete the troublesome repository, start Software & Updates tool:

Software & Updates Settings Ubuntu in 20.04

Go to the Other Software tab and look for the repository in question. Highlight it and then click on Remove button to delete it from your system.

Remove Ppa
Remove PPA

This will delete the PPA or the repository in question.

The next step is to get the software from some other source and that’s totally subjective. In some cases, you can still download the DEB file from the PPA website and use the software (I have explained the steps in the PPA guide).

Donate Itsfoss

Alternatively, you can check the project’s website if there is a Snap/Flatpak or Python version of the software available.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world


Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.