我的系统是Linux Ubuntu 14.04 LTS的。
我想安装Hadoop,以前要安装ssh。
运行sudo apt-get install ssh,系统提示: depends : OpenSSH-server (=1:6.6 P1-2 Ubuntu1) but it is not going to be installed
说是依赖openssh-server。
2 .中,运行sudo apt-getinstallopenssh-server。
另外,OpenSSH-server : depends : OpenSSH-client (=1:6.6 P1-2 Ubuntu1) but 1:6.6 P1-2 Ubuntu2istobeinstallled
说依赖于OpenSSH-client (=1:6.6 P1-2 Ubuntu1)。
3 .重新运行sudo apt-getinstallopenssh-client。
提示: OpenSSH-clientisalreadythenewestversion。
openssh-client已经是最新版本了。
安装openssh-server需要OpenSSH-client 1:6.6 p1-2Ubuntu 1。 我的机器上安装了OpenSSH-client 133606.6 p1-2Ubuntu 2。 我该怎么办?
解决方案:
sudo apt-get安装aptitude
sudoaptitudeinstallopenssh -服务器
译文: http://www.cn blogs.com/w wicked/p/4870872.html