当我的Ubuntu install某个东西时,给出下面提示
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?
删除锁定文件,执行以下命令,行了
sudo rm /var/lib/dpkg/lock
sudo rm /var/lib/dpkg/lock-frontend
安装vim
apt-get install vim-gtk
//注意:用apt-get install vim可能会失败