當我輸入“sudo apt-get update”時出現錯誤?

當我輸入“sudo apt-get update”時出現錯誤?
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
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?

答案1

您不能同時開啟兩個更新應用程式。這很可能意味著您在嘗試apt在終端機中使用時開啟了軟體中心或 Synaptic 。關閉軟體中心和/或 Synaptic,它應該可以工作。

相關內容