Ubuntu apt-get提示被锁住

执行 apt-get 时提示资源被锁住

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

解决方法:

sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
上一篇:python数据类型(集合)


下一篇:python基础3 ---python数据类型二