因为研究contiki需要使用Ubuntu12.04版本,安装ssh时出现如下错误:
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-5ubuntu1Reading 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