Question

Ubuntu repository problem in Amsterdam droplet

Posted March 7, 2020 426 views
Ubuntu

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.
1 comment

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.

×
4 answers

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

Hello, @Pais

Are you still experiencing the issue? I’ve just tested this by creating an Ubuntu droplet in the same region and everything seems to be working just fine. I believe this was a temporary issue.

Fetched 18.7 MB in 4s (4581 kB/s)               
Reading package lists... Done

If you’re still experiencing any issues with the repositories or anything else is not working as expected please report this.

Let me know how it goes.

Regards,
Alex

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

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

  • Hello, @Ayora

    If you experience the same issue again of if you’re still having it you might try to change the sources to:

    old-releases.ubuntu.com/ubuntu
    

    This should temporary sort the issue with the repositories.

    However I will strongly recommend that everyone should keep an eye on the EOL of upgrade to a long supported version in order to prevent any issues.

    Thanks for sharing what solution you have found and also for providing the link as other users may find this useful.

    Regards,
    Alex

Submit an Answer