ubuntu下安装vim失败
近日在ubuntu-16.04-desktop下安裝vim時(shí)遇到如下問題:
garfield@ubuntu:~$ sudapt-get install vimst
Reading package lists... Done
Building dependency tree????? ?
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
?vim : Depends: vim-common (= 2:7.3.429-2ubuntu2) but 2:7.3.429-2ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
解決方法:
近日在ubuntu-12.04.1下安裝vim時(shí)遇到如下問題:
garfield@ubuntu:~$ sudapt-get install vimst
Reading package lists... Done
Building dependency tree????? ?
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
?
The following packages have unmet dependencies:
?vim : Depends: vim-common (= 2:7.3.429-2ubuntu2) but 2:7.3.429-2ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
?
?
解決方法:
a.先執(zhí)行$ sudo apt-get remove vim-common 卸載vim-common
b. 再進(jìn)行安裝vim,執(zhí)行$ sudo apt-get install vim
遇到其他軟件安裝問題 也可以嘗試這個(gè)解決方法
?
總結(jié)
以上是生活随笔為你收集整理的ubuntu下安装vim失败的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 如何下载咸鱼app里面的视频
- 下一篇: vmware虚拟机Ubuntu安装g++