1. 問題詳細提示以下:frontend
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable)ui
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is an other process using it?
get
2. 如何解決這種問題呢?it
2.1 首先查看是否有apt-get這個程序在運行grep
ps aux|grep apt-get程序
2.2 若是發現存在這樣的程序在運行那麼就kill掉,不然執行2.3文件
2.3 直接刪除鎖文件process
sudo rm /var/lib/dpkg/lock-frontendapt-get
sudo rm /var/lib/dpkg/locksudo