clickhouse安装:无法定位包

k10s72fa  于 2021-07-15  发布在  ClickHouse
关注(0)|答案(2)|浏览(583)

我正试图在我的ubuntu14.04服务器上安装clickhouse。
我已经用yandex repo配置了sources.list/

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

我已经跑了 sudo apt-get update 最后我犯了这个错误。

user@server:# sudo apt-get install clickhouse-client clickhouse-server-common
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package clickhouse-client
    E: Unable to locate package clickhouse-server-common

怎么了?

qojgxg4l

qojgxg4l1#

试试这个

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E0C56BD4
sudo apt-get update
sudo apt-get install clickhouse-client clickhouse-server-common

如果密钥过期,请使用

wget -q -O - https://repo.yandex.ru/clickhouse/CLICKHOUSE-KEY.GPG | apt-key add -
mqxuamgl

mqxuamgl2#

引用https://clickhouse.tech/docs/en/getting_started/install/
建议使用debian或ubuntu的官方预编译deb包。
要安装官方软件包,请在/etc/apt/sources.list或单独的/etc/apt/sources.list.d/clickhouse.list文件中添加yandex存储库:

deb http://repo.clickhouse.tech/deb/stable/ main/

相关问题