Ubuntu-apt 时出现“Unable to lock the administration directory (/var/lib/dpkg/)”错误

有些话、适合烂在心里 提交于 2019-12-01 01:29:23

在Ubuntu中使用apt安装软件时出现“Unable to lock the administration directory (/var/lib/dpkg/)  is another process using it”的错误,

 

解决方案之一是杀死所有apt进程:

使用命令查看apt进程

ps -A | grep apt

找到进程ID,杀死

sudo kill -9 进程ID

重新运行安装命令。

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!