1. 问题详细提示如下:

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

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

相关文章:

  • 2021-06-01
  • 2022-03-06
  • 2021-07-01
  • 2021-05-22
  • 2022-12-23
  • 2021-11-06
  • 2021-06-10
猜你喜欢
  • 2021-06-22
  • 2021-09-22
  • 2021-09-17
  • 2022-12-23
  • 2021-05-07
  • 2021-07-26
  • 2021-07-29
相关资源
相似解决方案