I tried to install restricted extras and vlc by entering the following code:
sudo apt install ubuntu-restricted-extras && sudo apt install vlc
I then accidentally terminated the process and now, whenever I try to install anything (anything at all), I get the following recurring message:
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 16338 (apt)
I tried to stop the process by typing:
kill -9 16338
but was unsuccessful. Does anybody have any ideas on how I can kill the process and restore the ability to install what I want?