admin管理员组

文章数量:1652420

ubuntu下使用apt-get,得到下面error:

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?
解决:

1.delete the lock file

sudo rm /var/lib/apt/lists/lock
2.delete the lock file in the cache directory

sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock

Thanks!
--------------------- 
作者:VampireHunter丶 
来源:CSDN 
原文:https://blog.csdn/always_and_forever_/article/details/81001260 
版权声明:本文为博主原创文章,转载请附上博文链接!

本文标签: AdministrationdirectoryunableLockdpkg