Report this

What is the reason for this report?

Ubuntu Server LTS 20.04 Can't update due to repository no longer having a Release file

Posted on January 23, 2022

I can’t run apt update due to the repositories not having Release files anymore, can anyone help fix this please?

root@VPS-1:~# sudo apt update
Ign:1 http://mirrors.digitalocean.com/ubuntu groovy InRelease
Hit:2 https://deb.nodesource.com/node_14.x groovy InRelease
Ign:3 http://security.ubuntu.com/ubuntu groovy-security InRelease
Ign:4 http://mirrors.digitalocean.com/ubuntu groovy-updates InRelease
Err:5 http://security.ubuntu.com/ubuntu groovy-security Release
  404  Not Found [IP: 91.189.88.152 80]
Ign:6 http://mirrors.digitalocean.com/ubuntu groovy-backports InRelease
Err:7 http://mirrors.digitalocean.com/ubuntu groovy Release
  404  Not Found [IP: 104.21.29.13 80]
Err:8 http://mirrors.digitalocean.com/ubuntu groovy-updates Release
  404  Not Found [IP: 104.21.29.13 80]
Err:9 http://mirrors.digitalocean.com/ubuntu groovy-backports Release
  404  Not Found [IP: 104.21.29.13 80]
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu groovy-security 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.
E: The repository 'http://mirrors.digitalocean.com/ubuntu groovy 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.
E: The repository 'http://mirrors.digitalocean.com/ubuntu groovy-updates 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.
E: The repository 'http://mirrors.digitalocean.com/ubuntu groovy-backports 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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Same. Just created a 20.04 droplet. Can’t fetch updates.

This comment has been deleted

The issue seems to be some kind of provisioning error. I blew away the offending repo and rebuilt it with the exact same parameters and now it works. It’s not a fix, but at least I can get a droplet running.

DO should get to the bottom of this. Here’s the errors I was generating on the old droplet:

USER@HOST:~$ sudo apt update [sudo] password for USER: Err:1 http://mirrors.digitalocean.com/ubuntu focal InRelease 403 Forbidden [IP: 104.21.29.13 80] Err:2 http://mirrors.digitalocean.com/ubuntu focal-updates InRelease 403 Forbidden [IP: 104.21.29.13 80] Err:3 http://mirrors.digitalocean.com/ubuntu focal-backports InRelease 403 Forbidden [IP: 104.21.29.13 80] Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Reading package lists… Done N: See apt-secure(8) manpage for repository creation and user configuration details. N: Updating from such a repository can’t be done securely, and is therefore disabled by default. E: The repository ‘http://mirrors.digitalocean.com/ubuntu focal InRelease’ is no longer signed. E: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/focal/InRelease 403 Forbidden [IP: 104.21.29.13 80] E: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/focal-updates/InRelease 403 Forbidden [IP: 104.21.29.13 80]

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.