Skip links
ubuntu repository error

How to fix “The Repository ‘http://apt.***.com/focal focal Release’ does not have a Release file.”

Table of Contents

Using PPA or incorporating third-party repositories is one of the many ways to instal apps in Ubuntu. A few magical lines give you fast access to apps or a newer version of the software that isn't installed by default in .

All appears to be fine until you get into the habit of installing additional third-party repositories, at which point you experience an error similar to this when upgrading Ubuntu:

E: The repository ‘http://apt.vestacp.com/focal 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.

This error is usually found if you are trying to update ubuntu from command line using this command:

sudo apt-get update

It's not a big issue unless some of the scripts depend on it to install themselves. It then becomes important to remove these errors.

How to fix it?

You're probably aware that each Ubuntu release is assigned a codename. Focal Fossa is the codename for Ubuntu 20.04. The term “focal” in the error message refers to Ubuntu 20.04's Focal Fossa.

Although you added a third-party repository to your system's sources list, this new repository is not available for your current Ubuntu edition, according to the error.

Why is this the case? Since you're possibly using a newer edition of Ubuntu, and the developer hasn't yet released updates for it.

To delete this unavailable directory, like in this case, the repository of Vesta Control Panel, open the command line and input these commands.

cd /etc/apt/sources.list.d
ls -alh

try to find the name of the culprit repository, in this case vesta.list

ALSO READ  Migrating WordPress Website To Lightsail On AWS - Part 4

The next command is to remove this file

sudo rm -rf vesta.list

Now update the ubuntu and you should see no error.

sudo apt-get update

You should be able to update now with no errors. If these kind of errors still persist, you can comment below and I can help you with similar commands.

Share This Article:
Facebook
Twitter
LinkedIn
Pinterest
WhatsApp
Email
Reddit
Related Articles:
duckduckgo privacy browswer announcement
News
DuckDuckGo Will Launch Its Own Browser Soon

DuckDuckGo is the next most user favourite search engine after Google. Mainly because of its privacy features. Most of our website traffic also comes from the DuckDuckGo search engine after Google. This search engine is slowly gaining its search engine share and becoming the next best option after Google. People

Read More »
Subscribe to our newsletter
[newsletter_signup_form id=1]
Chat With Our SEO community members On discord

Leave a comment

This site uses User Verification plugin to reduce spam. See how your comment data is processed.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. Am getting this error

    N: Skipping acquire of configured file ‘nginx/binary-i386/Packages’ as repository ‘http://nginx.org/packages/mainline/ubuntu focal InRelease’ doesn’t support architecture ‘i386’

    1. This error means your sources list in Ubuntu is trying to acquire the wrong architecture file of Nginx. To fix this error, try to find the list by running this command.

      cd /etc/apt/sources.list.d
      grep nginx * | grep -v amd64

      Then edit that file by adding [arch=amd64] to the line having http://nginx.org/packages/mainline/ubuntu focal InRelease
      The final result should look something like this

      deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu focal InRelease

      Hope this helps.

Explore
Drag