Emeve
By:
Emeve

Problem getting packages with APT-GET with mirrors.digitalocean.com (on LON1)

October 14, 2017 869 views
DigitalOcean Ubuntu 16.04

Hi!
It seems mirrors.digitalocean.com is not working. I've tried to install a package with apt-get (php7.0-dev) but it doesn't even start to transfer the package:

0% [Connecting to mirrors.digitalocean.com (95.85.0.50)]
Err:1 http://lon1.mirrors.digitalocean.com/ubuntu xenial/main amd64 libpcrecpp0v5 amd64 2:8.38-3.1
Could not connect to lon1.mirrors.digitalocean.com:80 (95.85.0.50), connection timed out [IP: 95.85.0.50 80]

5 comments
3 Answers

Hello,

Same with Amsterdam server:
"... Cannot initiate the connection to ams2.mirrors.digitalocean.com:80...".
I hope you will resolve this ASAP.

This is still an issue, do DO staff ever look at this ?

I fixed this by creating a new /etc/apt/sources.list file generated from https://repogen.simplylinux.ch/

I think that my errors are into the same issue. The only difference i see is that says that "Connection refused"

Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu zesty InRelease
Ign:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 InRelease                                                              
Hit:3 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 Release                                                                
Hit:5 http://security.ubuntu.com/ubuntu zesty-security InRelease                                                                       
Hit:6 http://repo.percona.com/apt zesty InRelease                        
Hit:7 https://repos.sonar.digitalocean.com/apt main InRelease            
Err:4 http://ams2.mirrors.digitalocean.com/ubuntu zesty InRelease                                                      
  **Could not connect to ams2.mirrors.digitalocean.com:80 (95.85.0.50). - connect (111: Connection refused)**
Err:8 http://ams2.mirrors.digitalocean.com/ubuntu zesty-updates InRelease                                              
  Unable to connect to ams2.mirrors.digitalocean.com:http:
Hit:9 http://repo.percona.com/apt trusty InRelease                       
Err:10 http://ams2.mirrors.digitalocean.com/ubuntu zesty-backports InRelease
  Unable to connect to ams2.mirrors.digitalocean.com:http:
Hit:11 https://deb.nodesource.com/node_6.x zesty InRelease
Reading package lists... Done 
W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/zesty/InRelease  **Could not connect to ams2.mirrors.digitalocean.com:80 (95.85.0.50). - connect (111: Connection refused)**
W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/zesty-updates/InRelease  Unable to connect to ams2.mirrors.digitalocean.com:http:
W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/zesty-backports/InRelease  Unable to connect to ams2.mirrors.digitalocean.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Have another answer? Share your knowledge.