This just happened when I wanted to install some new software. I'm running 16.04 LTS on a HP.
I don't know if this is relevant, but I was recently trying to enable the fingerprint reader on the machine using this guide but I didn't finish it as some of the packages refused to build. I didn't do any authentication modifications inside the common-auth file.
The last line is repeated continuously and I have to kill the terminal every time I try using sudo
.
chris@chris:~$ sudo -s
sudo: unable to resolve host
[sudo] password for chris: sh: 1: cannot create /tmp/vcsSemKey_ServiceId: Permission denied
sh: 1: cannot create /tmp/vcsSemKey_ServiceId: Permission denied
sh: 1: cannot create /tmp/vcsSemKey_ServiceId: Permission denied
grep "vcsSemKey_ServiceId" ~/.bashrc
? if you are usingbash
as your shell. for the "sudo unable to resolve host" see this Q – αғsнιη Sep 23 '17 at 06:53