安装openssh-server时,报了如下的依赖问题:
The following packages have unmet dependencies:
openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu2.13)
Recommends: ssh-import-id but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
问题出现原因:openssh-server所依赖的openssh-client版本不存在,openssh-client没有安装或者安装的版本不匹配
解决方法:安装提示的openssh-client版本,比如我的只需要执行如下命令:
apt-get install openssh-client=1:6.6p1-2ubuntu2.13
安装完毕后就可以接着安装openssh-server了。
欢迎志趣相投的朋友一起学习交流!
本人qq:906570770
技术资料分享群:272811256
最后
以上就是鳗鱼刺猬最近收集整理的关于安装openssh-server时,依赖问题解决的全部内容,更多相关安装openssh-server时内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复