$sudo apt-get install -f returns "sudo: unable to resolve host (...)"
Bug #179242 reported by
Kyubutsu
This bug report is a duplicate of:
Bug #32906: sudo fails if it cannot resolve the local hostname and no MTA is installed.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
ubuntu hardy heron 8.04
update-manager, add/remove, synaptic and firestarter firewall do not run/crash on startup.
tried $ sudo apt-get install -f , command returns "sudo: unable to resolve host [hostname]"
also, update-manager appears as active icon in panel, on double-click, process fetches updates list but recommends "partial upgrade to install as many updates as possible", then crashes. ignoring that and choosing to install all updates crashes as well. force quit not possible.
To post a comment you must log in.
Are you sure the hostname of your machine can be resolved?
could you attach here /etc/hosts and /etc/hostname