这里写自定义目录标题
- Ubuntu下无法获得锁 错误 / E: Could not get lock /var/lib/apt/lists/lock
Ubuntu下无法获得锁 错误 / E: Could not get lock /var/lib/apt/lists/lock
1、E: Could not get lock /var/lib/apt/lists/lock - open (11: Recource temporarily unavailable)
解决方案:
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
2、 E: Unable to lock directory /var/lib/apt/lists/
解决方案:
输入:
sudo rm /var/lib/apt/lists/lock