关于Lock

当我的Ubuntu  install某个东西时,给出下面提示

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is an other process using it?

删除锁定文件,行了

sudo rm /var/lib/dpkg/lock-frontend       

sudo rm /var/lib/dpkg/lock

posted @ 2020-03-17 12:23  CodingDaily  阅读(120)  评论(0)    收藏  举报