Trying to sudo produced:
$ sudo -s -HMy /etc/hosts file at this point:
sudo: unable to resolve host prystasj-laptop
[sudo] password for prystasj:
root@prystasj-laptop:/home/prystasj/tmp# whoami
root
$ cat /etc/hostsI needed to add my hostname to the file at the end of the first line.
127.0.0.1 localhost
127.0.1.1 dell-desktop.example.com dell-desktop
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Afterwhich, everything went back to normal:
127.0.0.1 localhost prystasj-laptopWould be curious to know why this would have an affect when trying to run apps like gvim that wouldn't seem to require internet access.
127.0.1.1 dell-desktop.example.com dell-desktop