首页 > 系统服务 > 详细

Linux:安装OpenSSH-Server E:Package openssh-server has no installation candidate

时间:2016-09-15 06:11:35      阅读:1226      评论:0      收藏:0      [点我收藏+]
$sduo apt-get install openssh-server

Reading package lists… Done
Building dependency tree
Reading state information… Done
Package openssh-server 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
E: Package openssh-server has no installation candidate

执行:sudo apt-get update 也提示更新失败,或者无内容可更新。

解决方案:sudo vim /etc/network/interfaces修改ip,重启。

执行:sudo apt-get update

问题解决:

技术分享

http://blog.sina.com.cn/s/blog_3e28c8a50101cax0.html

Linux:安装OpenSSH-Server E:Package openssh-server has no installation candidate

原文:http://www.cnblogs.com/yy3b2007com/p/5874120.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!