Before the array, just install the Ubuntu , the problem of installing vim , now some to share.
Apt-get Install Vim
Reading Package List ... Complete
Analyzing Dependency tree for Package
Reading status information ... Complete
Some software packages cannot be installed. If you are using an unstable (unstable) release, this may be
Because the system is unable to achieve the state you requested. There may be some software that you need in this release
The packages have not been created or they are still in the new to (incoming) directory.
The following packages have dependencies that are not met:
Vim: dependent: vim-common (= 1:7.1.314-3ubuntu3.1) But 2:7.2.079-1ubuntu5 is going to be installed
E: Packages that cannot be installed
This problem should be a source of software problems, the source version is relatively low, relying on the version number is lower than the version number that is being installed, resulting in the inability to install.
Just remove the original software source and replace it with a new one.
Practice See here: http://wiki.ubuntu.org.cn/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E6%88%91%E4%BB%AC%E6%8E%A8%E8%8D%90%E7%9A%84%E6%BA%90
sudo gedit/etc/apt/sources.list
Write the software source, then refresh, note must be refreshed, run:
sudo apt-get update
(I started it just because there was no refresh and didn't solve the problem of vim installation failure)
Reprinted from: http://www.51testing.com/html/38/225738-172391.html
Install Vim on Ubuntu can not install the problem, "the following packages have an unsatisfied dependency"