码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 12.04 安装 openssh-server 失败,请问怎么该弄?

时间:2017-10-18 19:49:21      阅读:250      评论:0      收藏:0      [点我收藏+]

标签:apt-get   ges   tab   problem   卸载   2.0   out   import   str   

$ 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)
                  Recommends: xauth but it is not going to be installed
                  Recommends: ssh-import-id but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

有人说要卸载掉 openssh-client , 但是 openssh-client 被很多包依赖, 很多的 xserver 的包都依赖它, 这该怎么办好?

搞定, 先装一个依赖的指定版本的 openssh-client (旧版):

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

然后再装 openssh-server 就OK了。

 

ubuntu 12.04 安装 openssh-server 失败,请问怎么该弄?

标签:apt-get   ges   tab   problem   卸载   2.0   out   import   str   

原文地址:http://www.cnblogs.com/xiaoliu66007/p/7688119.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!