启动SSH-server出现错误。Package openssh-server is not available, but is referred to by another package.
来源:互联网 发布:手机知乎怎么上传图片 编辑:程序博客网 时间:2024/05/21 11:04
sudo apt-get install openssh-server
往刚装好的ubuntu上一敲,出现如下错误:
steve@basil:~$ sudo 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
http://icesquare.com/wordpress/package-ssh-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/
在source.list中添加最新的源
:
sudo apt-get update
sudo apt-get upgrade
命令能找到资源并更新成功。然后再次使用
sudo apt-get install openssh-server
- 启动SSH-server出现错误。Package openssh-server is not available, but is referred to by another package.
- ubuntu进行apt-get时候出现Package ssh is not available, but is referred to by another package 错误
- ubuntu进行apt-get时候出现Package ssh is not available, but is referred to by another package 错误
- ubuntu进行apt-get时候出现Package ssh is not available, but is referred to by another package 错误
- ubuntu进行apt-get时候出现Package ssh is not available, but is referred to by another package 错误
- Package vim is not available, but is referred to by another package.
- Package vim is not available, but is referred to by another package及我的vim配置
- "package gcc-4.4 is not available, but is referred to by another package", 安装gcc时出错的解决方法
- idea出现:Server is not connected. Deploy is not available
- idea出现:Server is not connected. Deploy is not available
- loadrunner启动web tour-Could not open port 1080-Port is already used by another server
- IntelliJ IDEA 14.x + Tomcat 运行 Java Web, 出现 Server is not connected. Deploy is not available.错误
- R包的安装错误ERROR: dependency ‘plyr’ is not available for package ‘reshape2’
- R包的安装错误ERROR: dependency ‘plyr’ is not available for package ‘reshape2’
- ERROR: dependency ‘plyr’ is not available for package ‘scales’
- IDEA启动tomcat失败Server is not connected. Deploy is not available
- idea启动tomcat报错:Artifact mmall:war: Server is not connected. Deploy is not available
- idea14 Server is not connected. Deploy is not available.
- 深入JVM锁机制1-synchronized
- 深入JVM锁机制2-Lock
- 数学专项counting:LA 3295
- 第一周poj1845
- Tomcat正常启动后,报404错误
- 启动SSH-server出现错误。Package openssh-server is not available, but is referred to by another package.
- js中通过split函数分割字符串成数组
- repo
- 约瑟夫问题变形 And Then There was One, LA 3882 递推 动态规划
- 用RSA加密实现Web登录密码加密传输
- bsort
- Android 百度地图开发(三)--- 实现比例尺功能和替换自带的缩放组件
- hdu 3571 N-dimensional Sphere 高斯消元
- android文件操作(基本囊括所有的文件操作了)