ubuntu14.04安装 openssh-sever 出现下列依赖错误
Some packages could not be installed.
This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: ssh :
Depends: openssh-server (>= 1:6.6p1-2ubuntu2.6)
E: Unable to correct problems, you have held broken packages.
解决方法:
sudo aptitude install openssh-client=1:6.6p1-2ubuntu1
The problem:
openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu1) but 1:6.6p1-2ubuntu2 is installed.
Try running: sudo aptitude install openssh-client=1:6.6p1-2ubuntu1
This reverts to this version
Then I did this: sudo apt-get install openssh-server
Then the ssh localhost worked!!
解决方法源自:
http://askubuntu.com/questions/546983/ssh-installation-errors