Just Do IT !

Kali apt报错E: 无法获得锁 /var/cache/apt/archives/lock - open (11: 资源暂时不可用)

字数统计: 77阅读时长: 1 min
2019/10/06 Share

kali apt时报错:

root@kali:~# apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y 
E: 无法获得锁 /var/cache/apt/archives/lock - open (11: 资源暂时不可用)
E: 无法对目录 /var/cache/apt/archives/ 加锁

解决:

将/var/cache/apt/archives/lock删除

rm -rf /var/cache/apt/archives/lock

CATALOG