E: Unable to correct mistakes, because you require some software packages maintain the status quo, that they destroyed the dependencies between packages

Using aptitude to install
first need to install aptitude:

sudo apt-get install aptitude
  • 1

Then the installation package using aptitude:

sudo aptitude install openssh-server
  • 1

Then aptitude will handle dependencies intelligently:
Here Insert Picture Description
It is said that if the program remains unresolved dependency, you can choose n, aptitude will recalculate the possible options, including the existing package downgrade and so on.

Guess you like

Origin www.cnblogs.com/sundahua/p/12089197.html