无法在软件中心添加或更新软件,

无法在软件中心添加或更新软件,

软件中心有问题。它说取消但什么也不做。

我明白了

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 killall apt-get

如果这不起作用,请尝试手动移除锁:

sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt-get update

相关内容