Install Vim on Ubuntu can not install the problem, "the following packages have an unsatisfied dependency"

Source: Internet
Author: User

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"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.