Probem with apt-get update

Started by alexgraeme, January 28, 2015, 09:14:58 pm

Previous topic - Next topic


i am not sure what the problem is but it seems to be fairly common that it will not connect to any of the repositories and i think it may be a dns issue but am not sure how to solve it


You did not mention if you are able to connect to any other host.
or which OS your are using, but if you are using Debian can you ping or ?


A quick&dirty way to get DNS working: put a public Google nameserver by hand into /etc/resolv.conf by something like this command:

echo "nameserver" > /etc/resolv.conf