Ubuntu安装软件-命令

当我的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可能会失败

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章