E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
This happens if installation is still going on and you are trying to install another package or may be you have killed the ongoing installation.
Therefore for this write on terminal as:
sudo rm /var/lib/dpkg/lock
Now you can use sudo apt normally.
This happens if installation is still going on and you are trying to install another package or may be you have killed the ongoing installation.
Therefore for this write on terminal as:
sudo rm /var/lib/dpkg/lock
Now you can use sudo apt normally.