lxgi&

导航

not get lock /var/lib/dpkg/lock 报错解决

ubuntu server 1404: 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 rm /var/cache/apt/archives/lock

sudo rm /var/lib/dpkg/lock

posted on 2016-07-08 17:11  lxgi&  阅读(90)  评论(0)    收藏  举报