I. Source of the problem
After the Ubuntu system is installed, enter the command in the terminal: sudo apt-get install vim, and after you type the root password, the system prompts you not to install Vim errors. Then follow the error prompts, change the Vim type type command: sudo apt-get install vim-gnome, but still error.
After attempting to do nothing in the above method, use the command: sudo apt-get update command to update the software. After following the new completion, re-enter the sudo apt-get install vim, the system still prompts failed.
Second, the problem solution
Search the Internet to "home of the System" an article titled "Ubuntu can not install vim what to do?" After the article, follow its instructions to step through and finally successfully install a successful Vim editor under Ubuntu.
(1) Uninstall Vim-commomn Dependency Package:$ sudo apt-get remove Vim-common
(2) Reinstall vim:$ sudo apt-get install vim
Three, the question ponder summary
In some unstable (unstable) Ubuntu distributions, the system comes with a vim-common that is not suitable for the Vim-common required to install VIM, i.e. the system comes with a Im-common version that is too low, causing the required vim to be installed without support. At this time, VIM can be used normally as long as the original system comes with a lower version of Vim-common and then re-installs VIM (which will bind the Vim-common when fitted).
Ubuntu installation Vim