unable to lock the administration directory问题解决

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了unable to lock the administration directory问题解决相关的知识,希望对你有一定的参考价值。

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

发现没效果,然后有试了下面这组命令:

sudo rm /var/lib/dpkg/lock

sudo rm /var/lib/dpkg/lock

sudo dpkg --configure -a

然后就可以了,至于这些命令什么意思,不知道啊,都是网上搜来的

以上是关于unable to lock the administration directory问题解决的主要内容,如果未能解决你的问题,请参考以下文章

unable to lock the administration directory问题解决

E: Unable to lock the administration directory (/var/lib/dpkg/)

E: Could not get lock /var/lib/dpkg/lock E: Unable to lock the administration directory (/var/lib/d

E: Could not get lock /var/lib/dpkg/lock E: Unable to lock the administration directory (/var/lib/d

Unable to lock the administration directory (/var/lib/dpkg/),is another process using it?

修复 Ubuntu 中“Unable to lock the administration directory (/var/lib/dpkg/)”