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?
问题:
解决方案:
1、ps afx|grep apt
执行这个命令查看apt的进程,如图中apt进程号为3089
2、kill -9 3089
执行上述命令将进程杀死
3、sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/lib/dpkg/lock
执行上面两个将其删除。
4、成功使用apt下载安装