其他分享
首页 > 其他分享> > E: Could not get lock /var/lib/dpkg/lock - open 11: Resource temporarily unavailable 解决办法

E: Could not get lock /var/lib/dpkg/lock - open 11: Resource temporarily unavailable 解决办法

作者:互联网

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

标签:11,temporarily,lib,get,lock,var,open,dpkg
来源: https://blog.csdn.net/Cl2212/article/details/120373059