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

當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

這個可能需要多刪幾次才能起作用,我刪了又安裝進行了三次纔可以


原文鏈接:https://blog.csdn.net/weixin_42116341/article/details/100019319
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章