vim : Depends: vim-common (= 2:7.4.052-1ubuntu3.1) but 2:7.4.1689-3ubuntu1.3 is to be installed
E: Unable to correct problems, you have held broken packages.
安装vim出现以上提示,别急,请执行下面4条命令:
sudo apt-get purge vim-common
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vim