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