📅  最后修改于: 2022-03-11 14:51:08.333000             🧑  作者: 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