"sudo: unable to resolve host shahriar-desktop"

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

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 2.6.24.2 generic
&
hardy 2.6.22.14 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