"sudo: unable to resolve host shahriar-desktop"

Bug #179549 reported by Shahriar Tariq on 2007-12-31
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)

Bug Description

Binary package hint: sudo

I recently upgraded to Ubuntu 8.04 Alpha Release 2 from Stable version Ubuntu 7.10 by running "sudo update-manager -d" from terminal

Now I am having a huge problem of running any administrative applications (I even can't update my system). I tried running them in the terminal then I find following error

"sudo: unable to resolve host shahriar-desktop"

I have no idea why it is happening

(During setup I have opted for removal of obsolete applications) I have no idea whether this selection have caused this problem or not.

forgot to mention the the version I am now running

hardy generic
hardy generic

dual booted with Windows XP pro

B. Clausius (barcc) wrote :

This Bug seem to me a duplicate of bug https://bugs.launchpad.net/bugs/179549.

Janne Solanpää (solanpaa) wrote :

In hardy α4, Networking-gui had edited my /etc/hosts.

Originally there was a line: "xxx.xxx.xx.xx hostname"
it had changed it to
"xxx.xxx.xx.xx hostname.home"

I deleted ".home", and sudo works again.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers