執行sudo apt-get install安裝對應的軟件出現如下錯誤
詳細錯誤信息:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
錯誤原因:是因為引用錯誤的鏈接導致的。
解決辦法(刪除這些引用即可):
cd /var/lib/dpkg/updates rm -r ./*
刪除完后,執行sudo apt-get update即可,這時就可以正常安裝軟件了。
參考解決辦法鏈接:
14.04消息’E:dpkg was interrupted, you must manually run’dpkg配置’to correct the problem.’