命令sudo apt-get install openssh-server..Package ssh不可用时出错,但是被另一个包引用

时间:2016-02-16 11:50:35

标签: ubuntu ssh

我想在ubuntu 14.04上安装hadoop软件..但是当我尝试命令sudo apt-get install openssh-server时,我收到错误

Package ssh is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  openssh-client

E: Package 'ssh' has no installation candidate

我尝试了命令sudo apt-get update,但仍然出现同样的问题..请帮助我..

1 个答案:

答案 0 :(得分:0)

请尝试:

sudo apt-get install openssh-client=1:5.9p1-5ubuntu1
sudo apt-get install openssh-server