Comment 89 for bug 32906

Revision history for this message
Scotty (miller-scott-j) wrote :

Figure I'll try and get this right now that I've posted this in seemingly nothing but duplicate bug reports:

So I've followed just about all tips, and none prove fruitful to me. The following is a copy of my /etc/hosts file:

127.0.0.1 scotty
127.0.1.1 scotty-laptop

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

Now when I try to run sudo commands from the shell, they produce the typical:

sudo: unable to resolve host

But I can still edit files. In fact, it produced that when I did a:

sudo nano /etc/hosts

yet I was able to modify it, and save it (and yes, it did save). Yet I still cannot run GUI administrator tools (change the time, system settings, etc...). Any ideas?

now when i try to do a call of host name I get a blank line for a return:

[code]
scotty@:~$ hostname

scotty@:~$
[/code]

Any idea what the cause of this is?