UBUNTU Could not get lock /var/lib/apt/lists/lock

Posted 工大教务处

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了UBUNTU Could not get lock /var/lib/apt/lists/lock相关的知识,希望对你有一定的参考价值。

ps -e | grep apt

显示结果如下:

6362 ? 00:00:00 apt

6934 ? 00:00:00 apt-get

7368 ? 00:00:00 synaptic

然后就执行

sudo killall apt

sudo killall apt-get

sudo killall synaptic

再次在终端里查看ps -e | grep apt 没有任何结果了

继续执行sudo apt-get update

 

以上是关于UBUNTU Could not get lock /var/lib/apt/lists/lock的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu“无法打开锁文件(Could not get lock)”问题解决

ubuntu 常见错误--Could not get lock /var/lib/dpkg/lock

UBUNTU Could not get lock /var/lib/apt/lists/lock

ubuntu更新出错--Could not get lock /var/lib/dpkg/lock

ubuntu常见错误--Could not get lock /var/lib/dpkg/lock解决

ubuntu常见错误--Could not get lock /var/lib/dpkg/lock解决