解决apt-get /var/lib/dpkg/lock-frontend 问题

技术&教程2年前 (2022)更新 KuWi
33,011 0 0

解决apt-get /var/lib/dpkg/lock-frontend 问题
运行 apt-get 时报如下错
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?
解决方案:

sudo rm /var/lib/dpkg/lock-frontend 
sudo rm /var/lib/dpkg/lock 
sudo rm /var/cache/apt/archives/lock

都运行一遍,具体也不知道哪条起了作用。

© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
暂无评论...