sudo: unable to resolve host yourhostname
No clue why sudo is doing that when running.
Solution
Check /etc/hosts
You will probably find that it doesn't contain "yourhostname" for 127.0.0.1
Just update the hostname or add a field for your hostname like this:
127.0.0.1 yourhostname
sudo, unable, resolve, hostsudo, yourhostname, etc, hosts, doesn, contain, quot, update, hostname,