安装openssh-server报错
来源:互联网 发布:炫踪网络 加班严重吗 编辑:程序博客网 时间:2024/05/16 15:58
安装openssh-server时
sudo
apt-get
install
ssh
openssh-server
报以下错误
现在没有可用的软件包 openssh-server,但是它被其它的软件包引用了.这可能意味着这个缺失的软件包可能已被废弃,或者只能在劳动保险发布源中找到.
E:软件包openssh-server还没有可供安装的候选者
错误原因:
当前的源类表中没有你要安装的软件包,
解决办法1:
软件源 -》下载自 -》其他站点-》选择最佳服务器
自动搜索后,会找到一个最佳的服务器,点“选择服务器”
然后重新安装openssh-server
sudo
apt-get
install
ssh
openssh-server
解决办法2:
(1)修改 /etc/apt/sources.list
gedit /etc/apt/sources.list
(2)添加源列表
百度“ubuntu sources.list”,找一个可用的源列表(如http://blog.163.com/jzq_520/blog/static/11931126220123774356172/),将它们添加打/etc/apt/sources.list 中。
也可以直接添加以下源列表:
deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn/ feisty main restricted universe multiverse
# 中国 台湾省台湾大学,推荐网通用户使用,电信PING平均响应速度41MS,PING=100
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main restricted universe multiverse
(3)更新源
sudo apt-get update
sudo apt-get upgrade
(4)重新安装openssh-server
sudo
apt-get
install
ssh
openssh-server
- 安装openssh-server报错
- ubuntu 14.04 安装openssh-server报错问题解决
- ubuntu 17.04 下安装openssh-server报错
- ubuntu安装openssh-server报依赖错误
- 安装openssh clients报错
- ubuntu安装openssh-server 报依赖错误的解决过程
- ubuntu安装openssh-server 报依赖错误的解决过程
- ubuntu安装openssh-server 报依赖错误的解决过程
- ubuntu安装openssh-server 报依赖错误的解决过程
- ubuntu安装openssh-server 报依赖错误的解决过程
- ubuntu安装openssh-server 报依赖错误的解决过程
- ubuntu安装openssh-server 报依赖错误的解决过程
- 安装openssh-server报Depends: openssh-client (= 1:6.6p1-2ubuntu2.8)错误
- Linux安装OpenSSH Server
- ubuntu 安装 openssh-server
- ubuntu 安装 openssh-server
- fedora23 安装openssh-server
- openssh-server安装
- 在ibatis中使用自增
- oracle 死锁
- Oracle,SQL Plus使用
- 快速排序
- java.net.UnknownHostException
- 安装openssh-server报错
- VirtualBox虚拟机网络环境解析和搭建-NAT、桥接、Host-Only、Internal、端口映射(转)
- 使用popen执行脚本并获取返回值
- 可执行程序的入口点在那里?
- Java wait(), notify(),sleep详解
- 乐观的项目经理
- windows下设置开机启动项并修改启动顺序
- spring 3+hibernate4整合
- SQL SERVER2008 错误"不能在控件上调用 Invoke 或 BeginInvoke"