Solve the problem of the original URL: http://m.blog.csdn.net/blog/zuisuozhe/37600293, I do the original content to edit, please forgive the original author.
problem : I Ubuntu14.04 under the installation of VIM-GTK encountered the following problems:
$ sudo apt-get install VIM-GTK reading package list ... Complete
Analyzing Dependency tree for Package
Reading status information ... Complete
There is no available package vim now, but it is referenced by other packages.
This may mean that the missing package may have been discarded,
Or can only be found in other publishing sources
E: Package Vim does not yet have a candidate to install
Workaround: (Connected network premise) step one: In the terminal input command: sudo apt-get update && sudoo apt-get upgrade Explanation: Update = = Updates Package List upgrade = Upgrade Department All software packages in the EC step two: Online installation vim, in the terminal input command: sudo apt-get install VIM-GTK
Additional knowledge: Vim is an enhanced version of the text editor developed from VI. When you use Vim to edit a file in the C program language, VIM automatically invokes the program's syntax judgment based on the file's extension or the initial information in the file, and then a color to display the program code and general information. In other words, this vim is a "program editor", even some Linux basic configuration files in the syntax, can be checked with vim. VI compiler in the BACKSPACE key and the direction of the key and Windows inconsistent, which will also cause trouble programming, so it is recommended to use the Vim editor.