Question

sudo apt-get update not working

Hi, i want to run sudo apt-get update in ssh but it shows

Ign:1 http://mirrors.digitalocean.com/ubuntu disco InRelease
Ign:2 http://mirrors.digitalocean.com/ubuntu disco-updates InRelease
Ign:3 http://mirrors.digitalocean.com/ubuntu disco-backports InRelease
Err:4 http://mirrors.digitalocean.com/ubuntu disco Release
  404  Not Found [IP: 172.67.148.71 80]
Err:5 http://mirrors.digitalocean.com/ubuntu disco-updates Release
  404  Not Found [IP: 172.67.148.71 80]
Err:6 http://mirrors.digitalocean.com/ubuntu disco-backports Release
  404  Not Found [IP: 172.67.148.71 80]
Ign:7 http://security.ubuntu.com/ubuntu disco-security InRelease
Err:8 http://security.ubuntu.com/ubuntu disco-security Release
  404  Not Found [IP: 91.189.91.39 80]
Reading package lists... Done
E: The repository 'http://mirrors.digitalocean.com/ubuntu disco 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 disco-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 disco-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.
E: The repository 'http://security.ubuntu.com/ubuntu disco-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.

My server version - Ubuntu 19.04

How do I solve it? Thank you


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.

Hi there,

There was a similar question recently asked here:

https://www.digitalocean.com/community/questions/unable-to-apt-update-my-ubuntu-19-04

I could suggest following the steps from the accepted answer.

Let me know how it goes!

Best,

Bobby