1

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

terminal

bigzoo
  • 113

2 Answers2

1

I had the same problem, I fixed it by uninstalling the packages relating to Fingerprint Scanner using Synaptic Package manager, now my terminal works fine. Idk if I'm being naive here :/ I'm new to the Linux.

0

It looks like you changed your hostname at some point after installation.

First, check the following exists in /etc/hosts:

127.0.1.1 chris

If it doesn't, add it.

Then make sure /etc/hostname contains:

chris