关于无法自动安装openssh-server问题
2012-07-27 09:38
465 查看
今天由于需要安装一台服务器,其系统为64位的ubuntu12.04服务器,作为近期需要搭建的数据中心服务器测试,但是在使用ubuntu安装的命令
apt-get install openssh-server
出现如下的错误(当然要保证能够上网的前提下)
现在没有可用的软件包 openssh-server,但是它被其它的软件包引用了.
这可能意味着这个缺失的软件包可能已被废弃,或者只能在劳动保险发布源中找到.
E:软件包openssh-server还没有可供安装的候选者
其中的原因是因为源的问题,解决办法如下:
当前的源类表中没有你要安装的软件包,修改 /etc/apt/sources.list 添加源列表,添加以下源
# Archive.ubuntu.com 欧洲,此为官方源,推荐使用 ,PING=500
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
apt-get install openssh-server
出现如下的错误(当然要保证能够上网的前提下)
现在没有可用的软件包 openssh-server,但是它被其它的软件包引用了.
这可能意味着这个缺失的软件包可能已被废弃,或者只能在劳动保险发布源中找到.
E:软件包openssh-server还没有可供安装的候选者
其中的原因是因为源的问题,解决办法如下:
当前的源类表中没有你要安装的软件包,修改 /etc/apt/sources.list 添加源列表,添加以下源
# Archive.ubuntu.com 欧洲,此为官方源,推荐使用 ,PING=500
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
相关文章推荐
- ubuntu彻底卸载软件 :关于安装openssh-server后没有启动,22端口没有打开的问题
- 关于 ESXi 5.0 安装 Win8 及 Server 2012 无法进入系统问题
- 解决openssh-server包无法安装的问题
- 关于ubuntu openssh-server 安装失败问题
- VS2010关于WindowsService 制作安装程序包,无法自动install的问题解决方法
- 解决关于VMware虚拟机下安装win7OS时无法发现光驱问题
- 关于Wampserver安装完成后无法启动MySQL的问题
- Linux无法写入权限问题 & 解决Wordpress不能自动安装主题、插件
- wampserver变橙色,apache 服务无法启动!问题解决小记(安装失败亦可参考)
- 关于SpringBoot bean无法注入的问题(与文件包位置有关)改变自动扫描的包
- 关于Andriod Studio在真机测试中无法安装Apk的问题解决方案
- 关于spark history server 无法显示完成的JOB的问题解决
- 关于android中版本自动更新,从服务器下载下来的文件不能安装的问题
- 关于app iPad上无法自动翻转的问题
- 关于安装安卓SDK出现无法更新问题时的解决办法
- 关于MySQL 最后一部安装阶段无法响应的问题
- 关于批处理(bat)自动安装问题
- 关于centos7中使用rpm方式安装mysql5.7版本后无法使用root登录的问题
- 利用用户自己的server、tomcat下的解决iOS7.1企业应用无法安装应用程序 由于证书无效的问题
- 关于XP安装了SQL2005无法打开SQL Server Configuration Manager