The reason is that another process is using the resoure and it has been locked.
So how to fix it,just input:
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
The reason is that another process is using the resoure and it has been locked.
So how to fix it,just input:
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock