ubuntu 11.10更新問題

ubuntu 11.10更新問題

我正在使用sudo apt-get update命令進行更新。更新 Ubuntu 時顯示:

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

在終端機中執行以下命令以解除鎖定。

sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock

然後你就可以跑了

sudo apt-get update命令。

相關內容