Question

Problem whit apt-get update

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.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

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