Debian执行apt命令提示could not get lock错误解决方法
发布时间:2023-10-8 13:11:22 来源: 纵横云
Debian执行apt命令提示could not get lock错误解决方法
1.报错信息
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
2.解决办法
执行以下命令
sudo rm -rf /var/lib/dpkg/lock
sudo rm -rf /var/cache/apt/archives/lock
sudo apt-get update sudo
dpkg --configure -a
本文来源:
https://www.zonghengcloud.com/article/12532.html
[复制链接]
链接已复制