解决apt-get /var/lib/dpkg/lock-frontend 问题
Posted H3rmesk1t
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决apt-get /var/lib/dpkg/lock-frontend 问题相关的知识,希望对你有一定的参考价值。
解决apt-get /var/lib/dpkg/lock-frontend 问题
当Ubuntu进行apt-get操作产生如下报错时
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 4127 (aptd)
N: Be aware that removing the lock file is not a solution and may break your system.
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
以上是关于解决apt-get /var/lib/dpkg/lock-frontend 问题的主要内容,如果未能解决你的问题,请参考以下文章
apt-get安装时一直显示“0%[正在等待报头]“,无法安装解决
全网详细解决sudo: apt-get: command not found以及详细分析yum和apt-get的区别
解决apt-get /var/lib/dpkg/lock-frontend 问题