For the benefit of others who come across this bug:

  127.0.0.1 scotty

Don't do this.  127.0.0.1 should always resolve to 'localhost', not to
any other name.

  scotty@:~$ hostname
  
  scotty@:~$

This indicates that no hostname is set.  To fix this temporarily, run:

  sudo hostname <my_hostname>

e.g.,

  sudo hostname scotty-laptop

The name you specify here should match the name mapped to 127.0.1.1 in
/etc/hosts.

To fix it permanently, edit the /etc/hostname to show the same name.

The problem of being unable to run the GUI tools may be a result of not
having all important system updates installed from hardy-updates.  Once
your hostname is fixed, you should install these updates - to prevent
this problem from recurring in the future for you, and to address many
other bugs that have been fixed since the release of 8.04.

-- 
sudo fails if it cannot resolve the local hostname and no MTA is installed
https://bugs.launchpad.net/bugs/32906
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to