其他分享
首页 > 其他分享> > 无法获得锁 /var/lib/dpkg/lock

无法获得锁 /var/lib/dpkg/lock

作者:互联网

E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)

问题

E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用) E: Unable to
acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is
another process using it?

解决方法

vv@vv-virtual-machine:$ ps -e | grep apt
  1196 ?        00:00:00 apt.systemd.dai
  1234 ?        00:00:00 apt.systemd.dai
vv@vv-virtual-machine:$ sudo kill 1196
vv@vv-virtual-machine:$ sudo rm /var/cache/apt/archives/lock  
vv@vv-virtual-machine:$ sudo rm /var/lib/dpkg/lock 

标签:00,lib,lock,vv,var,dpkg
来源: https://blog.csdn.net/jwpython/article/details/120694124