【问题标题】:Clickhouse install on Ubuntu 16.04 failing在 Ubuntu 16.04 上安装 Clickhouse 失败
【发布时间】:2017-12-25 11:00:42
【问题描述】:

如果有人告诉我如何在 Ubuntu 16.04 上安装,我们将不胜感激。 我试过这个:

我采取的步骤: echo "deb http://repo.yandex.ru/clickhouse/trusty stable main" >> /etc/apt/sources.list

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 # 可选

sudo apt-get 更新

sudo apt-get install clickhouse-client clickhouse-server-common

错误:

root@c-2:~# sudo apt-get install clickhouse-client clickhouse-server-common 阅读包裹清单...完成 构建依赖树
读取状态信息...完成 某些软件包无法安装。这可能意味着您有 请求不可能的情况,或者如果您使用的是不稳定的 一些必需的包尚未创建的分发 或被移出 Incoming。 以下信息可能有助于解决这种情况:

以下包具有未满足的依赖关系: clickhouse-client :取决于:clickhouse-server-base (= 1.1.54245) 但不会安装 clickhouse-server-common :取决于:clickhouse-server-base (= 1.1.54245) 但不会安装 E: 无法纠正问题,您持有破损的包裹。

【问题讨论】:

    标签: clickhouse


    【解决方案1】:

    你需要使用:

    deb http://repo.yandex.ru/clickhouse/xenial stable main
    

    它实际上在下面的行中,您从文档中复制粘贴:

    For other Ubuntu versions, replace trusty to xenial or precise.
    

    版本 16.x = xenial

    ...不过如果他们只是将路径重命名为 12.x、14.x 和 16.x 而不是使用代码名称会很好。

    【讨论】:

      【解决方案2】:

      这样做

      echo "deb https://repo.yandex.ru/clickhouse/deb/stable main/" | sudo tee /etc/apt/sources.list.d/clickhouse.list
      sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E0C56BD4
      sudo apt-get update
      sudo apt-get install clickhouse-client clickhouse-server
      

      我使用 https,它正在工作。 http 在 deb 中不起作用

      【讨论】:

        猜你喜欢
        • 2017-08-16
        • 1970-01-01
        • 1970-01-01
        • 2017-04-10
        • 2019-06-17
        • 1970-01-01
        • 2017-08-29
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多