最近在安装软件的时候经常出现下面提示:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
网上介绍了很多方法,液谷歌了,下面的方法最有效:
k@localhost:~$ sudo rm /var/cache/apt/archives/lock
k@localhost:~$ sudo rm /var/lib/dpkg/lock