Question

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

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.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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]

This comment has been deleted

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