E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable)

Posted long5683

tags:

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

1. 问题详细提示如下:

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is an other process using it?

2. 如何解决这种问题呢?

  2.1 首先查看是否有apt-get这个程序在运行

  ps aux|grep apt-get

  2.2 如果发现存在这样的程序在运行那么就kill掉,否则执行2.3

  2.3 直接删除锁文件

  sudo rm /var/lib/dpkg/lock-frontend

  sudo rm /var/lib/dpkg/lock

以上是关于E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable)的主要内容,如果未能解决你的问题,请参考以下文章

E:could not get lock /var/lib/dpkg/lock -ope

apt-get update 出现E: Could not get lock /var/lib/apt/lists/lock问题的解决

apt-get update 出现E: Could not get lock /var/lib/apt/lists/lock问题的解决

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

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable)