sudo apt-get install git 下载失败Unable to acquire the dpkg frontend lock
charlie@charlie-virtual-machine:~/work$ sudo apt-get install git
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
charlie@charlie-virtual-machine:~/work$
charlie@charlie-virtual-machine:~/work$
解决的办法:
charlie@charlie-virtual-machine:~/work$ sudo rm /var/lib/dpkg/lock
charlie@charlie-virtual-machine:~/work$ sudo rm /var/lib/dpkg/lock-frontend
charlie@charlie-virtual-machine:~/work$
charlie@charlie-virtual-machine:~/work$
赞 (0)