zoukankan      html  css  js  c++  java
  • ubuntu16 安装openssh-server 一直安装不上Unable to correct problems, you have held broken packages

    zengqi@zengqi:~$ 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:7.2p2-4)
                      Depends: openssh-sftp-server 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啦,只要安装

    sudo apt-get install openssh-client=1:7.2p2-4

    sudo apt-get install openssh-server

    就可以啦

  • 相关阅读:
    网页色彩搭配
    jquery富文本在线编辑器UEditor
    编写、部署、应用JavaBean
    图片存储构架学习
    JVM内存管理(一)
    同步or异步
    分库分表策略的可实现架构
    百万数据查询优化技巧三十则
    匿名内部类
    MySQL limit分页查询优化写法
  • 原文地址:https://www.cnblogs.com/YouXiangLiThon/p/8023301.html
Copyright © 2011-2022 走看看