yum install clickhouse* 的一堆报错

os: centos 7.6.1810

版本

# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core) 

Package is not signed

配置好 repo ,参考 https://clickhouse.tech/docs/zh/getting-started/install/

# yum list all |grep -i clickhouse
clickhouse-client.x86_64                   1.1.54385-2            clickhouse-stable
clickhouse-client.noarch                   21.4.4.30-2            clickhouse-stable
clickhouse-common-dbg.x86_64               1.1.54370-2            clickhouse-stable
clickhouse-common-static.x86_64            21.4.4.30-2            clickhouse-stable
clickhouse-common-static-dbg.x86_64        21.4.4.30-2            clickhouse-stable
clickhouse-server.x86_64                   1.1.54385-2            clickhouse-stable
clickhouse-server.noarch                   21.4.4.30-2            clickhouse-stable
clickhouse-server-base.x86_64              19.4.0-2               clickhouse-stable
clickhouse-server-common.x86_64            1.1.54385-2            clickhouse-stable
clickhouse-server-common.noarch            19.4.0-2               clickhouse-stable
clickhouse-test.x86_64                     1.1.54385-2            clickhouse-stable
clickhouse-test.noarch                     21.4.4.30-2            clickhouse-stable

# yum install clickhouse*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.tuna.tsinghua.edu.cn
 * centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
 * centos-sclo-sclo: mirrors.tuna.tsinghua.edu.cn
 * extras: mirrors.neusoft.edu.cn
 * updates: mirrors.tuna.tsinghua.edu.cn
Package clickhouse-server-common is obsoleted by clickhouse-server, trying to install clickhouse-server-21.4.4.30-2.noarch instead
Resolving Dependencies
--> Running transaction check
---> Package clickhouse-client.noarch 0:21.4.4.30-2 will be installed
---> Package clickhouse-common-dbg.x86_64 0:1.1.54370-2 will be installed
---> Package clickhouse-common-static.x86_64 0:21.4.4.30-2 will be installed
---> Package clickhouse-common-static-dbg.x86_64 0:21.4.4.30-2 will be installed
---> Package clickhouse-server.noarch 0:21.4.4.30-2 will be installed
---> Package clickhouse-server-base.x86_64 0:19.4.0-2 will be installed
---> Package clickhouse-test.noarch 0:21.4.4.30-2 will be installed
--> Processing Dependency: /usr/bin/expect for package: clickhouse-test-21.4.4.30-2.noarch
--> Running transaction check
---> Package expect.x86_64 0:5.45-14.el7_1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================
 Package                                      Arch                   Version                         Repository                         Size
=============================================================================================================================================
Installing:
 clickhouse-client                            noarch                 21.4.4.30-2                     clickhouse-stable                  53 k
 clickhouse-common-dbg                        x86_64                 1.1.54370-2                     clickhouse-stable                 164 M
 clickhouse-common-static                     x86_64                 21.4.4.30-2                     clickhouse-stable                 123 M
 clickhouse-common-static-dbg                 x86_64                 21.4.4.30-2                     clickhouse-stable                 566 M
 clickhouse-server                            noarch                 21.4.4.30-2                     clickhouse-stable                  76 k
 clickhouse-server-base                       x86_64                 19.4.0-2                        clickhouse-stable                 590 M
 clickhouse-test                              noarch                 21.4.4.30-2                     clickhouse-stable                 5.6 M
Installing for dependencies:
 expect                                       x86_64                 5.45-14.el7_1                   base                              262 k

Transaction Summary
=============================================================================================================================================
Install  7 Packages (+1 Dependent package)

Total size: 1.4 G
Installed size: 3.2 G
Is this ok [y/d/N]: y
Downloading packages:


Package clickhouse-server-base-19.4.0-2.x86_64.rpm is not signed

加个 --nogpgcheck

# yum install clickhouse* --nogpgcheck

报错,这是什么鬼

Total size: 1.3 G
Installed size: 2.8 G
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test


Transaction check error:
  file / from install of clickhouse-common-dbg-1.1.54370-2.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
  file /usr/lib from install of clickhouse-common-dbg-1.1.54370-2.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
  file /etc/init.d from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package chkconfig-1.7.4-1.el7.x86_64
  file / from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
  file /lib from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
  file /usr/bin from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package filesystem-3.2-25.el7.x86_64
  file /usr/bin/clickhouse from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package clickhouse-common-static-21.4.4.30-2.x86_64
  file /etc/security/limits.d/clickhouse.conf from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package clickhouse-common-static-21.4.4.30-2.x86_64
  file /usr/bin/clickhouse-odbc-bridge from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package clickhouse-common-static-21.4.4.30-2.x86_64
  file /etc/cron.d/clickhouse-server from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package clickhouse-server-21.4.4.30-2.noarch
  file /etc/init.d/clickhouse-server from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package clickhouse-server-21.4.4.30-2.noarch
  file /etc/systemd/system/clickhouse-server.service from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package clickhouse-server-21.4.4.30-2.noarch
  file /usr/bin/clickhouse-report from install of clickhouse-server-base-19.4.0-2.x86_64 conflicts with file from package clickhouse-server-21.4.4.30-2.noarch

Error Summary
-------------

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

数据库人生

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值