Ubuntu12.10 An error occurred while installing vim

Source: Internet
Author: User
When vim is installed in Ubuntu12.10, the following prompt is displayed: www.linuxidc.com @ linuxidc:/etc/apt $ sudoapt-getinstallvim is reading the package list... the dependency tree of the software package being analyzed is reading status information... some software packages cannot be installed. If you use

The following prompt is displayed when vim is installed in Ubuntu 12.10:

Www.linuxidc.com @ linuxidc:/etc/apt $ sudo apt-get install vim
Reading the package list... complete
Analyzing the dependency tree of the software package
Reading status information... complete
Some software packages cannot be installed. If you are using the unstable release, this may be
This is because the system cannot meet your requirements. This version may contain software you need.
Packages have not yet been created or they have been removed from the new Incoming directory.
The following information may help solve the problem:

The following software packages have dependencies that are not met:
Vim: Dependency: vim-common (=. 3.429-2ubuntu2. 1) But. 3.547-4ubuntu1 is about to be installed
E: the error cannot be corrected because some software packages are required to maintain the status quo, that is, they destroy the dependency between software packages.

The reason may be that the vim-common version on which vim is installed conflicts with the vim-common version of the system. The solution is to uninstall vim-common and then install vim.

Sudo apt-get remove vim-common

Sudo apt-get install vim

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.