Question

Ubuntu repository problem in Amsterdam droplet

I am getting this problem with Ubuntu repositories for Ubuntu 18.10 created in Amsterdam region.

Does anyone experiencing this too?

$ lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.10
Release:	18.10
Codename:	cosmic
$ sudo apt-get update
Ign:1 http://mirrors.digitalocean.com/ubuntu cosmic InRelease
Ign:2 http://mirrors.digitalocean.com/ubuntu cosmic-updates InRelease
Ign:3 http://mirrors.digitalocean.com/ubuntu cosmic-backports InRelease
Err:4 http://mirrors.digitalocean.com/ubuntu cosmic Release
  404  Not Found [IP: 104.24.116.209 80]
Err:5 http://mirrors.digitalocean.com/ubuntu cosmic-updates Release
  404  Not Found [IP: 104.24.116.209 80]
Err:6 http://mirrors.digitalocean.com/ubuntu cosmic-backports Release
  404  Not Found [IP: 104.24.116.209 80]
Reading package lists... Done
E: The repository 'http://mirrors.digitalocean.com/ubuntu cosmic 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 cosmic-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 cosmic-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.

alexdo
Site Moderator
Site Moderator badge
March 9, 2020
Accepted Answer

Hello, @Ayora @Antonio253 @AmpDevs

Ubuntu 18.10 (aka cosmic) reached end of life on July 18, 2019

https://wiki.ubuntu.com/Releases

After a release has been EOL for some time, Ubuntu moves the repositories to denote that they are no longer supported. A temporary solution could be to change the sources to old-releases.ubuntu.com/ubuntu/ but it will be better to upgrade to a supported release.

https://wiki.ubuntu.com/Releases

Hope this helps.

Regards, Alex

I have noticed that @alexdo. But, even if the versión has reached its end of life, Digital Ocean should have the version on their servers, cause droplet are configured with their own repositories :( That’s my opinion.

By the way, I have downgraded the version to 18.04 and then upgraded to 19.10. If you are interested, I am leaving this post which shows how to do the downgraded part:

https://linuxconfig.org/how-to-downgrade-ubuntu-linux-system-to-its-previous-version

Thanks for the help.

Greetings, Alberto

Morning, @alexdo

right, I’m still having this issue. The droplet was created last year, it’s not a recently one. If you create a droplet in the same region now, you could only choose between 18.04 and 19.10 version. 18.10 is not available.

Thanks for the help.

Greetings, Alberto

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel