sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
或者
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
之后更新软件源:
sudo apt-get update
sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
或者
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
之后更新软件源:
sudo apt-get update