📅  最后修改于: 2022-03-11 14:46:32.740000             🧑  作者: Mango
Method 1
ps aux | grep -i apt
sudo kill -9
Method 2
sudo lsof /var/lib/dpkg/lock
sudo lsof /var/lib/apt/lists/lock
sudo lsof /var/cache/apt/archives/lock
sudo kill -9