E: could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporary unavailable) E: Una

1. 问题详细提示以下:frontend

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

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

get

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

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

  ps aux|grep apt-get程序

  2.2 若是发现存在这样的程序在运行那么就kill掉,不然执行2.3文件

  2.3 直接删除锁文件process

  sudo rm /var/lib/dpkg/lock-frontendapt-get

  sudo rm /var/lib/dpkg/locksudo

相关文章
相关标签/搜索