在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/) is another process using it”的错误,
解决方案之一是杀死所有apt进程:
使用命令查看apt进程
ps -A | grep apt
找到进程ID,杀死
sudo kill -9 进程ID
重新运行安装命令。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。