Probem with apt-get update

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

Previous topic - Next topic

alexgraeme

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

Gerrit

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

ftp.debian.org or security.debian.org ?

MBR

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 8.8.8.8" > /etc/resolv.conf