在ubuntu 上apt-get更新python版本时,提示:
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/
原因: 锁被占用,资源暂时不可用
解决方法:
sudo rm -rf /var/cache/apt/archives/lock
sudo apt-get update
之后再安装即可
解决方案来自:https://blog.csdn.net/qq_32252957/article/details/85049198
网友评论