在 Ubuntu 16.04 上安装 Clickhouse 失败
Clickhouse install on Ubuntu 16.04 failing
如果有人告诉我如何在 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
阅读包裹清单...完成
构建依赖树
正在读取状态信息...完成
无法安装某些软件包。这可能意味着你有
请求一个不可能的情况,或者如果你使用的是不稳定的
一些必需的包尚未创建的分发
或已移出传入。
以下信息可能有助于解决问题:
以下包具有未满足的依赖项:
clickhouse-client : 取决于: clickhouse-server-base (= 1.1.54245) 但它不会被安装
clickhouse-server-common :取决于:clickhouse-server-base(= 1.1.54245)但不会安装
E: 无法修正问题,你拿着破包
您需要使用:
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 而不是使用代号,那就更好了。
这样做
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
中不工作
如果有人告诉我如何在 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
阅读包裹清单...完成
构建依赖树
正在读取状态信息...完成
无法安装某些软件包。这可能意味着你有
请求一个不可能的情况,或者如果你使用的是不稳定的
一些必需的包尚未创建的分发
或已移出传入。
以下信息可能有助于解决问题:
以下包具有未满足的依赖项: clickhouse-client : 取决于: clickhouse-server-base (= 1.1.54245) 但它不会被安装 clickhouse-server-common :取决于:clickhouse-server-base(= 1.1.54245)但不会安装 E: 无法修正问题,你拿着破包
您需要使用:
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 而不是使用代号,那就更好了。
这样做
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
中不工作