【问题标题】:Error when command sudo apt-get install openssh-server..Package ssh is not available, but is referred to by another package命令 sudo apt-get install openssh-server..Package ssh 不可用,但被另一个包引用时出错
【发布时间】:2016-02-17 12:32:23
【问题描述】:

我想在 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,但仍然出现同样的问题..请帮助我..

【问题讨论】:

标签: ubuntu ssh


【解决方案1】:

请尝试:

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

【讨论】:

  • 成功了吗?然后按照 StackOverflow 的惯例将答案标记为“正确”。它可以帮助其他人在未来找到类似查询的答案。
  • 嗨,在 ubuntu 14.04 上安装 hadoop .. 我正在关注这个链接 bogotobogo.com/Hadoop/… 在 ubuntu 14.04 上安装 hadoop.. 但我被困在这一步.. 格式化新的 Hadoop 文件系统..请帮帮我..
  • 嗨,当我在终端上键入命令 hadoop namenode -format 时。我收到错误,找不到 hadoop ..请帮助我..
  • 恐怕,在 Ubuntu 上安装特定应用程序(如 Hadoop)并不特别属于 StackOverflow 的范畴。请在Ask Ubuntu 上发布一个单独的问题。另外,请绝对具体了解错误消息。
猜你喜欢
  • 2014-02-16
  • 1970-01-01
  • 2023-03-11
  • 1970-01-01
  • 2016-06-04
  • 2011-09-23
  • 1970-01-01
  • 2016-01-20
  • 2018-05-12
相关资源
最近更新 更多