Report this

What is the reason for this report?

Apt-get update doesn't pull 0% connection. What am I missing?

Posted on September 27, 2020

I a new user I tried installing mautic on my droplet but messed up at the end so I deleted my droplet several times and started clean. Now I try to re-install but not getting to connect with digitalocean.

apt update && apt upgrade -y

And I am getting this errors

0% [Connecting to mirrors.digitalocean.com] [Connecting to security.ubuntu.com] Err:1 http://mirrors.digitalocean.com/ubuntu xenial InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ Err:2 http://security.ubuntu.com/ubuntu xenial-security InRelease Temporary failure resolving ‘security.ubuntu.com

I am not sure how to proceed and resolve the problem. What am I missing?



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!

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 @dropingdroplet,

It seems like you have messed either with your network connection, or with your repository list.

If you are network connection is broken, I’ll recommend contacting DigitalOcean’s support. If it’s indeed broken, most probably, you won’t be able to ping your DigitalOcean’s droplet IP.

Another solution would be as mentioned to have messed with your repository list. Your repository file list can be found at /etc/apt/sources.list. It should contain the following information

deb http://mirrors.digitalocean.com/ubuntu/ bionic main restricted
deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates main restricted
deb http://mirrors.digitalocean.com/ubuntu/ bionic universe
deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates universe
deb http://mirrors.digitalocean.com/ubuntu/ bionic multiverse
deb http://mirrors.digitalocean.com/ubuntu/ bionic-updates multiverse
deb http://mirrors.digitalocean.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse                 

and that’s for Ubuntu 18.04.

If you are trying to use an older version of Ubuntu like 16.04, I’ll suggest to immediately use a newer one as 16.04 has been EOL for about a year or more.

Regards, KFSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.