解决 Unable to lock the administration directory (/var/lib/dpkg/)

解决 Unable to lock the administration directory (/var/lib/dpkg/)

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/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock

 

打赏 赞(1)
微信
支付宝
微信二维码图片

微信扫描二维码打赏

支付宝二维码图片

支付宝扫描二维码打赏

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据