[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Up-gradation problem with gnome 2.14



On 06/14/2012 09:33 PM, Bob Proulx wrote:
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.

hehe silly me. God bless peer review :D


   # echo "nameserver 8.8.8.8">  /etc/resolv.conf

And of course 8.8.8.8 is Google's public dns service.  An easy to
remember address.  Should work to get you going.

HOWEVER!  The file is probably empty due to not having any network
connection.  Instead of doing the above at all I think it would be
better to determine what the network problem is all about and fixing
it first.  Then with that fixed the /etc/resolv.conf issue will be
fixed too.


Yeah, agreed. Check for the box that is giving you ip. Something is wrong with it as they usually gives you dns automatically too. If you dont have control of that box, the above is a nice workaround tho.


Bob


Reply to: