1. 程式人生 > >執行sudo apt install時報錯

執行sudo apt 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