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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.