Solved : Unable to lock the administration directory (/var/lib/dpkg/)
Delete the lock file using below command:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
now you can install package using apt-get command.
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
Achaaaa ji....
ReplyDelete