在Ubuntu系统上安装使用apt-get install命令安装软件报以下错误:
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?
ps aux|grep apt-get
若存在程序,则使用命令杀掉
sudo kill -9 进程号
sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/lib/dpkg/lock
sudo apt-get update
再次运行apt-install即可安装成功