Ubuntu 无法更新

Ubuntu 无法更新

在更换软件源时遇到了如下问题:

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/

这表明当前有某个进程正在 apt-get, 然而我并没有使用任何命令, 于是需要kill掉进程。

解决方法是:

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

转载: https://www.cnblogs.com/qq952693358/p/6537846.html

# apt, update

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×