在ubuntu apt-get upgrade的时候,遇到: E: Could not get lock /var/cache/ apt/archives/lock - open (11 Resource temporarily unavailable)E: Unable to lock the download directory 出现这种问题可能是因为异常停止了运行中的程序,锁没有被释放导致,有两种办法 1.sudo rm -rf /var/cache/apt/archives/lock 把…
参考:Unable to lock the administration directory (/var/lib/dpkg/) is another process using it? 在更换软件源时遇到了如下问题: sudo apt-get update E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /…
原文: http://blog.chinaunix.net/uid-26932153-id-3193335.html 今天更新时候出现了点小问题,一开始更新到一半,我嫌速度慢,就取消掉了. 更新了sources.list之后再执行sudo apt-get update 提示我出错了 E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) E: Unable to lock…