E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1446 (unattended-upgr)报错信解决

雨点打透心脏的1/2处 2022-10-28 03:50 131阅读 0赞

报错信息

  1. E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1446 (unattended-upgr)
  2. N: Be aware that removing the lock file is not a solution and may break your system.
  3. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

在这里插入图片描述

查看进程

  1. ps -aux

在这里插入图片描述
在这里插入图片描述

结束报错里面的进程

  1. kill -9 1446
  2. apt-get install curl

在这里插入图片描述

发表评论

表情:
评论列表 (有 0 条评论,131人围观)

还没有评论,来说两句吧...

相关阅读