The repository ' focal Release' no longer has a Release file


I wanted to update my server, but I obtain this error:

# apt update
Hit:1 focal InRelease
Hit:2 focal-updates InRelease
Hit:3 focal-backports InRelease
Hit:4 focal InRelease
Hit:5 focal-security InRelease
Hit:6 focal InRelease
Hit:7 focal InRelease
Hit:8 focal InRelease
Hit:9 focal InRelease
Ign:10 focal InRelease
Err:11 focal Release
  404  Not Found [IP: 443]
Reading package lists... Done
E: The repository ' focal Release' no longer has 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.

What should I do, please?

1 Like

I think they where down for a short moment it should be online again

All the directory are empty: FTP archive directory /db/mariadb/repo/10.4/ubuntu/dists/focal/main/binary-amd64/

Try replacing it with:


Where 10.x is your version


Ok eris, I have found files in 10.4.25 then I have remplace the string.

But what version do you think I could get up to on an Ubuntu Focal Fosa because I’m guessing 10.4.25 is going to become obsolete quickly, right?

10.4 is supposted to be supported until 2024

If you want to upgrade go to 10.6 at the moment

Thank you eris.

Thanks! This also solved my issue, being on Ubuntu 22.04: I tried to change focal to jammy which gave the same error:

E: The repository ' jammy Release' no longer has a Release file.

This works perfectly after I changed it in /etc/apt/sources.list.d/mariadb.list: jammy main

I ran into this yesterday on my oldest HestiaCP instance. Having seem this thread prior made for a convenient reference. The MariaDB mirrors still contain the directory structure, but not the content. I fixed it by choosing a new mirror from the MariaDB download page, but changed to the hostname afterward as the name suggests that it is a mirror redirect that may be more robust than choosing a single mirror host.

1 Like

Oh, I see only now that I have not switch on
I had just search the directory that isn’t empty on and change the number manually, and it works to.

So I ask this myselft:

If you look on the first tab : Download MariaDB Server - you can see that only some versions in each branch is supported. So I think it is better to have an alert like I had yesterday, so you can switch on the new one when it’s time.

What do you think about this?

For “New” installs we have updated it in 1.5.6 to use so for newer installs it is sorted

1 Like

Ok eris, thanks for the precisions.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.