在输入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 -ef | 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
来源:https://blog.csdn.net/qq_36910634/article/details/90512126
最后
以上就是要减肥大树最近收集整理的关于[687]无法获得锁 /var/lib/dpkg/lock-frontend - open的全部内容,更多相关[687]无法获得锁内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复