我是靠谱客的博主 安静雪糕,这篇文章主要介绍Ubuntu16.04解决问题:E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用),现在分享给大家,希望可以做个参考。
在输入sudo apt-get update后发现终端提示:
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?
- 解决方案一:
ps -e | grep apt

然后执行:sudo kill 进程号

- 解决方案二:
有一种情况是
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
但我遇到的情况是:E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock-frontend
最后
以上就是安静雪糕最近收集整理的关于Ubuntu16.04解决问题:E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)的全部内容,更多相关Ubuntu16.04解决问题:E:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复