ubuntu14.04 openssh-server安装问题

来源:互联网 发布:哪个洗衣店好 知乎 编辑:程序博客网 时间:2024/06/05 20:05
aicrobo@aicrobo:~$ sudo apt-get install openssh-server
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.9p1-5ubuntu1.10)

E: Unable to correct problems, you have held broken packages.


解决方法:

因为系统原来应经安装了ssh-client,server依赖client,版本不匹配

sudo apt-get install openssh-client=1:5.9p1-5ubuntu1.10

sudo apt-get install openssh-server




原创粉丝点击