首页 > 学院 > 开发设计 > 正文

ubuntu14.04安装 openssh-sever 出现下列依赖错误

2019-11-06 07:07:00
字体:
来源:转载
供稿:网友

Ubuntu14.04安装 openssh-sever 出现下列依赖错误

 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: ssh : 

Depends: openssh-server (>= 1:6.6p1-2ubuntu2.6) 

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

解决方法:

sudo aptitude install openssh-client=1:6.6p1-2ubuntu1

The problem:

openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu1) but 1:6.6p1-2ubuntu2 is installed.

Try running: sudo aptitude install openssh-client=1:6.6p1-2ubuntu1

This reverts to this version

Then I did this: sudo apt-get install openssh-server

Then the ssh localhost worked!!

解决方法源自:

http://askubuntu.com/questions/546983/ssh-installation-errors


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表