错误具体信息:
E:Could not get lock /var/lib/dpkg/lock-frontend -open (11:Resource temporarly unavailable)
E:Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend),is an other process using it?
解决方法:
1、使用ps命令查看apt-get这个程序是否在运行
ps aux|grep apt-get
2、如果在运行就使用kill命令杀死,否则执行第三步
3、使用rm命令直接删除锁文件
sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/lib/dpkg/lock