ubuntu安装sshd错误

来源:互联网 发布:2016年房地产投资数据 编辑:程序博客网 时间:2024/05/16 03:42

因为研究contiki需要使用Ubuntu12.04版本,安装ssh时出现如下错误:


user@instant-contiki:~$ 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) but 1:5.9p1-5ubuntu1.1 is to be installed

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


通过如下方式可以正常安装:

user@instant-contiki:~$ sudo apt-get install openssh-client=1:5.9p1-5ubuntu1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  ssh-askpass libpam-ssh keychain monkeysphere openssh-blacklist
  openssh-blacklist-extra

The following packages will be DOWNGRADED:



转载http://blog.csdn.net/weiqianen2009/article/details/42146283

原创粉丝点击