Analysis and solution of the failure of ubuntu16.04 installation of vim

  • 2020-05-13 04:18:07
  • OfStack

Let me give you a description of the problem, okay?

The ubuntu system was reinstalled, and the following problems occurred when installing vim:


sudo apt-get install vim

Reading package list... complete

Analyzing the software package's dependency tree

Reading status information... complete

Some packages could not be installed. If you are using the unstable distribution, this may be the case

Because the system is not in the state you want it to be. There may be some software you need in this release

Packages have not been created or they have been removed from the (Incoming) directory.

The following information may be helpful in solving the problem:

The following packages have unsatisfied dependencies:

vim: relies on: vim-common (= 2:7.4.826-1ubuntu1) but 2:7.4.1689-3ubuntu1.1 is about to be installed

E: you cannot fix bugs because you require certain packages to remain as they are, which is why they break dependencies between software packages.

Solutions:


sudo apt-get remove vim-common
sudo apt-get install vim

Related articles: