您的位置:首页 > 运维架构

ubuntu 安装ssh-server时出现错误:openssh-server: Depends: openssh-client (= 1:5.3p1-3ubuntu3) but 1:5.3p1-3u

2017-08-17 17:29 741 查看
转自:http://www.cnblogs.com/xiaowenhu/p/3185631.html

tiger@ubuntu:~/Desktop/work$ sudo apt-get install openssh-server
[sudo] password for tiger:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
openssh-server: Depends: openssh-client (= 1:5.3p1-3ubuntu3) but 1:5.3p1-3ubuntu4 is to be installed
E: Broken packages
输入如下命令即可:
sudo apt-get install openssh-client=1:5.3p1-3ubuntu3
输入依赖包的完整包名安装,我之前一直这样安装sudo apt-get install openssh-client,结果一直报错安装依赖失败

参考链接2;http://blog.csdn.net/mzbonnt/article/details/51605928#comments
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐