报错信息: 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?
使用sudo apt-get install vim时出现以下报错
解决办法
参考链接
查看有哪些进程正在运行
ps -A | grep apt
然后出现了进程号以及相关信息
杀死这个进程
sudo kill -9 9804
然后再继续安装