关于Ubuntu中Could not get lock /var/lib/dpkg/lock解决方案

来源:互联网 发布:nginx 查看模块 编辑:程序博客网 时间:2024/05/11 11:40

在Ubuntu中,有时候运用sudo apt-get install 安装软件时,会出现一下的情况
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
使用以下代码即可解决:

sudo -i
阅读全文
0 0
原创粉丝点击