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

来源:互联网 发布:数据库备份与恢复策略 编辑:程序博客网 时间:2024/06/14 09:31
转自:http://www.cnblogs.com/xiaowenhu/p/3185631.htmltiger@ubuntu:~/Desktop/work$ sudo apt-get install openssh-server [sudo] password for tiger: Reading package lists... DoneBuilding dependency tree       Reading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor 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 installedE: 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
阅读全文
0 0