greatsql rpm 安装报错
centos 7 rpm 安装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 1:openssl-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
# rpm -ivh greatsql*rpm
error: Failed dependencies:
pkgconfig(openssl) is needed by greatsql-devel-8.0.32-25.1.el7.x86_64
perl(Data::Dumper) 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
GreatSQL用户手册中有提到
其他部分依赖包,如果通过YUM还是无法安装,则加上 --nodeps --force 强制忽略即可,例如:
$ rpm -ivh greatsql*rpm
error: Failed dependencies:
perl(Lmo) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
perl(Lmo::Meta) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
perl(Lmo::Object) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
perl(Lmo::Types) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
perl(Lmo::Utils) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
perl(Percona::Toolkit) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
perl(Quoter) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
perl(Transformers) is needed by greatsql-server-8.0.32-25.1.el8.x86_64
#上述这些依赖包可以先忽略,不影响GreatSQL正常使用
$ rpm -ivh --nodeps --force greatsql*rpm
Preparing... #################################
Updating / installing...
1:greatsql-shared-8.0.32-25.1.el7################################# [ 20%]
2:greatsql-client-8.0.32-25.1.el7################################# [ 40%]
3:greatsql-icu-data-files-8.0.32-25################################# [ 60%]
4:greatsql-server-8.0.32-25.1.el7################################# [ 80%]
5:greatsql-devel-8.0.32-25.1.el7 #################################
详情请参考:https://greatsql.cn/docs/8032-25/user-manual/4-install-guide/2-install-with-rpm.html
页:
[1]