I end up whit this error when i run apt-get update. Any suggestion on what i can do to fix this?
root@server1:~# apt-get update Err:1 http://apt.izzysoft.de/ubuntu generic InRelease Temporary failure resolving ‘apt.izzysoft.de’ Err:2 http://apt.newrelic.com/debian newrelic InRelease Temporary failure resolving ‘apt.newrelic.com’ Err:3 http://software.virtualmin.com/gpl/ubuntu virtualmin-xenial InRelease Temporary failure resolving ‘software.virtualmin.com’ Err:4 http://ppa.launchpad.net/ondrej/apache2/ubuntu xenial InRelease Temporary failure resolving ‘ppa.launchpad.net’ Err:5 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal InRelease Temporary failure resolving ‘software.virtualmin.com’ Err:6 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease Temporary failure resolving ‘ppa.launchpad.net’ Err:7 http://archive.ubuntu.com/ubuntu xenial InRelease Temporary failure resolving ‘archive.ubuntu.com’ Err:8 http://security.ubuntu.com/ubuntu xenial-security InRelease Temporary failure resolving ‘security.ubuntu.com’ Err:9 https://deb.nodesource.com/node_4.x xenial InRelease Could not resolve host: deb.nodesource.com Err:10 http://archive.ubuntu.com/ubuntu xenial-updates InRelease Temporary failure resolving ‘archive.ubuntu.com’ Err:11 http://archive.ubuntu.com/ubuntu xenial-backports InRelease Temporary failure resolving ‘archive.ubuntu.com’ Reading package lists… Done W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving ‘archive.ubuntu.com’ W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Temporary failure resolving ‘archive.ubuntu.com’ W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Temporary failure resolving ‘archive.ubuntu.com’ W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Temporary failure resolving ‘security.ubuntu.com’ W: Failed to fetch http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-xenial/InRelease Temporary failure resolving ‘software.virtualmin.com’ W: Failed to fetch http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-universal/InRelease Temporary failure resolving ‘software.virtualmin.com’ W: Failed to fetch http://apt.izzysoft.de/ubuntu/dists/generic/InRelease Temporary failure resolving ‘apt.izzysoft.de’ W: Failed to fetch http://apt.newrelic.com/debian/dists/newrelic/InRelease Temporary failure resolving ‘apt.newrelic.com’ W: Failed to fetch https://deb.nodesource.com/node_4.x/dists/xenial/InRelease Could not resolve host: deb.nodesource.com W: Failed to fetch http://ppa.launchpad.net/ondrej/apache2/ubuntu/dists/xenial/InRelease Temporary failure resolving ‘ppa.launchpad.net’ W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/InRelease Temporary failure resolving ‘ppa.launchpad.net’ W: Some index files failed to download. They have been ignored, or old ones used instead.
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!
Using route table connect network if the network have more one default route del route table Ex: with the route -n command you’ll obtain
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.178.1 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 160.98.123.1 0.0.0.0 UG 600 0 0 wlan0
sudo route del -net 0.0.0.0 gw 192.168.178.1 netmask 0.0.0.0 dev eth0
Or
sudo ip route add 160.98.123.1/24 via 10.0.0.101 dev wlan0
Is this just happening or a problem from yesterday? Because there has been many problems with the Google DNS in the past couple of days, which is the default configured DNS on droplets. You can manually modify the DNS to something else with this guide: https://www.digitalocean.com/community/questions/how-do-i-switch-my-dns-resolvers-away-from-google
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.