解決:E: Could not get lock /var/lib/dpkg/lock

問題:

ubuntu16 執行 sudo apt install aria2 命令時,提示以下錯誤ubuntu

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/lib/dpkg/lock
# 若是有出現 /var/lib/list/lock 刪除對應的鎖定文件便可
相關文章
相關標籤/搜索