Alberto Fuentes wrote:
Joy Sankar Sengupta wrote:
After executing the command I got the following output:-
# generated by NetworkManager, do not edit!
I dont know if you suffer from other problems/bugs as others said,
but your main problem is that you dont have a DNS server set in your
computer as seen in your empty /etc/resolv.conf and your previous
error
Err http://http.us.debian.org etch Release.gpg
Could not resolve 'http.us.debian.org'
Agreed. But why is resolv.conf empty? That is the first problem to
solve. Solve it first.
One way to fix it is to
$ sudo -i
# echo "servername 8.8.8.8">> /etc/resolv.conf
Almost but not quite. The word is "nameserver" not "servername". And
to deal with potential broken lines there now I would truncate the
file with full contents. This would fix it.