问题
今天玩ubuntu发现以下报错:
dpkg was interrupted, you must manually run sudo dpkg –configure -a to correct the problem
解决
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
cd /var/lib/dpkg/updates
sudo rm *
sudo apt-get update
或者杀掉apt进程,参考我另一篇博客。
ubuntu could not get lock /var/lib/dpkg/lock 解决方法 - eryoung2 - 博客园
About me: 资深大猪蹄子