1、sudo killall apt apt-get
2、如果上述命令没有效果,则继续执行以下命令:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
sudo dpkg --configure -a
sudo apt update
1、sudo killall apt apt-get
2、如果上述命令没有效果,则继续执行以下命令:
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
sudo dpkg --configure -a
sudo apt update
本文标题:E: Could not get lock /var/lib/d
本文链接:https://www.haomeiwen.com/subject/ofqrmctx.html
网友评论