首页 > 系统服务 > 详细

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

时间:2019-10-10 09:39:26      阅读:84      评论:0      收藏:0      [点我收藏+]

在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

重新运行安装命令。

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

原文:https://www.cnblogs.com/Pan-Z/p/11645826.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!