E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
解决:
1.
ps -A | grep apt
杀死进程PID
2.
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock