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

SCREENSHOTLICENSE6
How to fix "The Repository 'http://apt.***.com/focal focal Release' does not have a Release file." 2

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:
google ranking dropped dramatically
Search Engine Optimization (SEO)
Why Did My Google Ranking Dropped Dramatically?

Bringing a website on top of Google search engine rankings is not an easy task. A lot of work goes through it to bring the website on top for high-traffic keywords. And when it does, these rankings bring a good amount of organic traffic from Google. When you see a

Read More »
best niche edits
Backlinks
Get The Best Niche Edits For Link Building In SEO

If you want to take your business to new heights, you will have to come up with an effective link building SEO strategy. A digital marketing agency can help you make a plan that provides results. But it’s important to work with a reliable agency, as not everyone offers quality.

Read More »
Subscribe to our newsletter
Chat With Our SEO community members On discord

2 Responses

  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.

Leave a Reply

Your email address will not be published.

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.

%d bloggers like this: