yum install clickhouse* 的一堆报错

秒速五厘米 2023-01-15 06:59 244阅读 0赞

os: centos 7.6.1810

版本

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

Package is not signed

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

  1. # yum list all |grep -i clickhouse
  2. clickhouse-client.x86_64 1.1.54385-2 clickhouse-stable
  3. clickhouse-client.noarch 21.4.4.30-2 clickhouse-stable
  4. clickhouse-common-dbg.x86_64 1.1.54370-2 clickhouse-stable
  5. clickhouse-common-static.x86_64 21.4.4.30-2 clickhouse-stable
  6. clickhouse-common-static-dbg.x86_64 21.4.4.30-2 clickhouse-stable
  7. clickhouse-server.x86_64 1.1.54385-2 clickhouse-stable
  8. clickhouse-server.noarch 21.4.4.30-2 clickhouse-stable
  9. clickhouse-server-base.x86_64 19.4.0-2 clickhouse-stable
  10. clickhouse-server-common.x86_64 1.1.54385-2 clickhouse-stable
  11. clickhouse-server-common.noarch 19.4.0-2 clickhouse-stable
  12. clickhouse-test.x86_64 1.1.54385-2 clickhouse-stable
  13. clickhouse-test.noarch 21.4.4.30-2 clickhouse-stable
  14. # yum install clickhouse*
  15. Loaded plugins: fastestmirror, langpacks
  16. Loading mirror speeds from cached hostfile
  17. * base: mirrors.tuna.tsinghua.edu.cn
  18. * centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
  19. * centos-sclo-sclo: mirrors.tuna.tsinghua.edu.cn
  20. * extras: mirrors.neusoft.edu.cn
  21. * updates: mirrors.tuna.tsinghua.edu.cn
  22. Package clickhouse-server-common is obsoleted by clickhouse-server, trying to install clickhouse-server-21.4.4.30-2.noarch instead
  23. Resolving Dependencies
  24. --> Running transaction check
  25. ---> Package clickhouse-client.noarch 0:21.4.4.30-2 will be installed
  26. ---> Package clickhouse-common-dbg.x86_64 0:1.1.54370-2 will be installed
  27. ---> Package clickhouse-common-static.x86_64 0:21.4.4.30-2 will be installed
  28. ---> Package clickhouse-common-static-dbg.x86_64 0:21.4.4.30-2 will be installed
  29. ---> Package clickhouse-server.noarch 0:21.4.4.30-2 will be installed
  30. ---> Package clickhouse-server-base.x86_64 0:19.4.0-2 will be installed
  31. ---> Package clickhouse-test.noarch 0:21.4.4.30-2 will be installed
  32. --> Processing Dependency: /usr/bin/expect for package: clickhouse-test-21.4.4.30-2.noarch
  33. --> Running transaction check
  34. ---> Package expect.x86_64 0:5.45-14.el7_1 will be installed
  35. --> Finished Dependency Resolution
  36. Dependencies Resolved
  37. =============================================================================================================================================
  38. Package Arch Version Repository Size
  39. =============================================================================================================================================
  40. Installing:
  41. clickhouse-client noarch 21.4.4.30-2 clickhouse-stable 53 k
  42. clickhouse-common-dbg x86_64 1.1.54370-2 clickhouse-stable 164 M
  43. clickhouse-common-static x86_64 21.4.4.30-2 clickhouse-stable 123 M
  44. clickhouse-common-static-dbg x86_64 21.4.4.30-2 clickhouse-stable 566 M
  45. clickhouse-server noarch 21.4.4.30-2 clickhouse-stable 76 k
  46. clickhouse-server-base x86_64 19.4.0-2 clickhouse-stable 590 M
  47. clickhouse-test noarch 21.4.4.30-2 clickhouse-stable 5.6 M
  48. Installing for dependencies:
  49. expect x86_64 5.45-14.el7_1 base 262 k
  50. Transaction Summary
  51. =============================================================================================================================================
  52. Install 7 Packages (+1 Dependent package)
  53. Total size: 1.4 G
  54. Installed size: 3.2 G
  55. Is this ok [y/d/N]: y
  56. Downloading packages:
  57. Package clickhouse-server-base-19.4.0-2.x86_64.rpm is not signed

加个 —nogpgcheck

  1. # yum install clickhouse* --nogpgcheck

报错,这是什么鬼

  1. Total size: 1.3 G
  2. Installed size: 2.8 G
  3. Is this ok [y/d/N]: y
  4. Downloading packages:
  5. Running transaction check
  6. Running transaction test
  7. Transaction check error:
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. Error Summary
  22. -------------

发表评论

表情:
评论列表 (有 0 条评论,244人围观)

还没有评论,来说两句吧...

相关阅读