问题描述:
在使用sudo apt 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/
解决方法:
sudo rm /var/lib/apt/lists/lock
or
sudo dpkg--configure -a
or
ps-aux 查出apt-get进程的PID
sudo kill PID
代码杀死进程(将带apt关键字的所有进程kill)
由好买网提供www.goodmai.com
更多建站及源码交易信息请见 GoodMai