1. Problem log:
(base)lkg@lkg-MS-7C75:~/software/verify$ sudo apt-get install samba openssh-server E
: Unable to obtain lock /var/lib/dpkg/lock-frontend - open (11: The resource is temporarily unavailable )
E: Unable to obtain the dpkg frontend lock (/var/lib/dpkg/lock-frontend). Is there another process occupying it?
2. Solution:
sudo rm /var/lib/dpkg/lock-frontend
3. Solutions tried but ineffective:
~$ ps -e | grep apt
Then kill the corresponding process