GreatSQL社区

搜索

[已解决] greatsql rpm 安装报错

601 1 2024-1-28 17:38
centos 7 rpm 安装GreatSQL,显示需要安装依赖包,但是依赖包已经安装了最新版本,各位前辈有什么建议吗?

[root@msqln1 greatsql]# yum install -y openssl pkgconfig perl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Package 1penssl-1.0.2k-26.el7_9.x86_64 already installed and latest version
Package 1:pkgconfig-0.27.1-4.el7.x86_64 already installed and latest version
Package 4:perl-5.16.3-299.el7_9.x86_64 already installed and latest version
Nothing to do
[root@msqln1 greatsql]# rpm -ivh greatsql*rpm
error: Failed dependencies:
        pkgconfig(openssl) is needed by greatsql-devel-8.0.32-25.1.el7.x86_64
        perl(Data:umper) is needed by greatsql-server-8.0.32-25.1.el7.x86_64
        perl(Digest::MD5) is needed by greatsql-server-8.0.32-25.1.el7.x86_64


全部回复(1)
yejr 2024-1-29 09:10:58
GreatSQL用户手册中有提到
  1. 其他部分依赖包,如果通过YUM还是无法安装,则加上 --nodeps --force 强制忽略即可,例如:

  2. $ rpm -ivh greatsql*rpm
  3. error: Failed dependencies:
  4.         perl(Lmo) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
  5.         perl(Lmo::Meta) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
  6.         perl(Lmo::Object) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
  7.         perl(Lmo::Types) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
  8.         perl(Lmo::Utils) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
  9.         perl(Percona::Toolkit) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
  10.         perl(Quoter) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
  11.         perl(Transformers) is needed by greatsql-server-8.0.32-25.1.el8.x86_64

  12. #上述这些依赖包可以先忽略,不影响GreatSQL正常使用

  13. $ rpm -ivh --nodeps --force greatsql*rpm
  14. Preparing...                          ################################# [100%]
  15. Updating / installing...
  16.    1:greatsql-shared-8.0.32-25.1.el7  ################################# [ 20%]
  17.    2:greatsql-client-8.0.32-25.1.el7  ################################# [ 40%]
  18.    3:greatsql-icu-data-files-8.0.32-25################################# [ 60%]
  19.    4:greatsql-server-8.0.32-25.1.el7  ################################# [ 80%]
  20.    5:greatsql-devel-8.0.32-25.1.el7   ################################# [100%]
复制代码



详情请参考:https://greatsql.cn/docs/8032-25 ... stall-with-rpm.html
lb8125

5

主题

0

博客

13

贡献

新手上路

Rank: 1

积分
20

合作电话:010-64087828

社区邮箱:greatsql@greatdb.com

社区公众号
社区小助手
QQ群
GMT+8, 2024-11-22 06:28 , Processed in 0.019489 second(s), 13 queries , Redis On.
快速回复 返回顶部 返回列表