sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock
终端输入 ps -aux |grep apt-get ,列出含有apt-get的进程,直接sudo kill PID。解决
sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock
终端输入 ps -aux |grep apt-get ,列出含有apt-get的进程,直接sudo kill PID。解决