E: Could not get lock /var/lib/dpkg/lock - open 11: Resource temporarily unavailable 解决办法
Could not get lock /var/lib/dpkg/lock - open
在ubuntu系统使用apt-get安装软件包时,有时候会出现错误:
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?
试过了很多方法,终于得以解决:
sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a