ubuntu安装openssh-sever报错

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啦。

时间: 2024-08-02 15:14:39

ubuntu安装openssh-sever报错的相关文章

Ubuntu安装 jdk.rpm 报错问题解决

报错问题出现原因 第一次使用Ubuntu操作系统,很多命令及软件安装方式与以往使用的Linux操作系统(CentOS)有很大区别.现在总结使用Ubuntu在安装JDK中,遇到的问题及解决方法. [email protected]:~/hadoop# rpm -i jdk-7u80-linux-x64.rpm rpm: RPM should not be used directly install RPM packages, use Alien instead!rpm: However assum

ubuntu安装ssh服务报错

一.问题描述 如图,ssh 安装报错 二.解决办法 按照提示要求将依赖库装好即可. 原文地址:https://www.cnblogs.com/musexiaoluo/p/12369396.html

linux下编译安装php各种报错大集合

PHP开源脚本语言 PHP(外文名: Hypertext Preprocessor,中文名:"超文本预处理器")是一种通用开源脚本语言.语法吸收了C语言.Java和Perl的特点,入门门槛较低,易于学习,使用广泛,主要适用于Web开发领域.PHP的文件后缀名为php. 本文为大家整理汇总了一些linux下编译安装php各种报错大集合 ,感兴趣的同学参考下. 报错1:make 后报错如下: Generating phar.php /home/oldboy/tools/php-5.3.27

Ubuntu下build wxPython报错

Ubuntu下build wxPython报错configure: error: GStreamer not available 百度到如下页面http://wxpython-users.1045709.n5.nabble.com/Linux-configure-fails-on-GStreamer-td3271417.html 执行如下命令后正常 sudo apt install  python-gst0.10-dev 结果虽然用"./configure && make &am

烂泥:【解决】ubuntu使用远程NFS报错

本文由秀依林枫提供友情赞助,首发于烂泥行天下. 今天在ubuntu系统上使用远程NFS,发现一直报错无法使用. 查看NFS挂载命令没有错误,命令如下: mount -t nfs 192.168.1.11:/data/work/soft/iso /home/lianzhou/iso 查看相关资料说,因为ubunutu14默认是没有安装NFS客户端的,需要安装NFS客户端. 安装NFS客户端,使用如下命令: sudo apt-get –y install nfs-common 安装完毕后,再次使用m

cnmp安装失败,报错npm ERR! enoent ENOENT: no such file or directory,

1.cnmp安装失败 2.提示如下: bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://registry.npm.taobao.org Password: /usr/local/lib └── (empty) npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr

windows7安装Office 2013后,安装Visio 2013报错:安装程序找不到office.zh-cn

虽然windows 8.1(cn_windows_8.1_professional_vl_with_update_x64_dvd_4050293.iso)是款不错的系统,但是由于我的无线一直不能正常使用且经常出现不能正常更新,还有桌面卡住的几率比之前多太多了等先重回windows7 X64. 我安装的是cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso,使用正常,且之前也是使用的这款很稳定,安装Office 2013(cn_office_pro

open-falcon 安装Dashboard时候报错"SSLError: The read operation timed out"

在部署open-falcon环境过程中,安装Dashboard时候报错"SSLError: The read operation timed out".如下: [[email protected] dashboard]# ./env/bin/pip install -r pip_requirements.txt Downloading/unpacking Flask==0.10.1 (from -r pip_requirements.txt (line 1)) Downloading

Linux上安装CherryTree,报错无法找到 gtksourceview2

安装CherryTree,报错无法找到 gtksourceview2    CherryTree(富文本辑器)是一个全功能的层次大纲窗口和组织者支持富文本.图像.语法高亮显示.列表.基本表, 保存为 PDF, 导出到 HTML和文本.密码保护和更多.另外,CherryTree 是将整个笔记本保存为一个文件(sqlite格式或者xml格式),图片/表格这些都全部保存到里面. 官方下载地址:CherryTree(戳我) last version 0.38.1 (June 9th, 2017) 1.

Win7 64bit 安装VisualSVN出现报错:Servic 'VisualSVN Server' failed to start.解决办法

问题描述: Win7 64bit 安装VisualSVN时出现报错: Servic 'VisualSVN Server' failed to start.Please check VisualSVN Server log in Event Viewer for more details Service 'VisualSVN Server' failed to start. 解决办法: 控制面板——管理工具——服务——VisualSVN Server——鼠标右键——属性——登录——选择“本地系统账