码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu安装openssh-sever报错

时间:2016-05-11 20:22:52      阅读:193      评论:0      收藏:0      [点我收藏+]

标签:ubuntu

source.list

deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse


apt-get -y install openssh-server

出现这个错误Unable to locate package openssh

可以根据提示先进行安装openssh-client对用的版本

eg:apt-get  install openssh-client=1:6.6p1-2ubuntu2.3

然后在安装openssh-server就OK啦。


ubuntu安装openssh-sever报错

标签:ubuntu

原文地址:http://leyin01.blog.51cto.com/9062123/1772122

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!