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
-------------
还没有评论,来说两句吧...