Debian执行apt命令提示could not get lock错误解决方法
时间:2024/4/25 8:46:41 来源:米安网络 作者:云主机配置专家 点击:7次
# 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
```
版权保护: 本文「Debian执行apt命令提示could not get lock错误解决方法」由 云主机配置专家 原创,转载请保留链接: https://www.miandns.com/docs/system/518.html