安装vim错误

Posted 浩瀚之水_csdn

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装vim错误相关的知识,希望对你有一定的参考价值。

现象:

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.4.1689-3ubuntu1.5) but 2:8.0.1453-1ubuntu1.8 is to be installed
E: Unable to correct problems, you have held broken packages.

解决方法:

sudo apt-get purge vim-common
sudo apt-get update
sudo apt-get install vim

 

以上是关于安装vim错误的主要内容,如果未能解决你的问题,请参考以下文章

安装vim错误

安装vim错误

安装vim错误

VIM无法补全错误记录

Ubuntu安装vim

树莓派安装vim编辑器(附带排错流程)