clickhouse安装:无法定位包

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

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

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

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

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

怎么了?

qojgxg4l

qojgxg4l1#

试试这个

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

如果密钥过期,请使用

  1. 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存储库:

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

相关问题