麒麟操作系统安装MySQL报错信息

麒麟操作系统信息

[root@Kylin ~]# cat /etc/os-release 
NAME="Kylin Linux Advanced Server"
VERSION="V10 (Tercel)"
ID="kylin"
VERSION_ID="V10"
PRETTY_NAME="Kylin Linux Advanced Server V10 (Tercel)"
ANSI_COLOR="0;31"

mysql版本信息

mysql8.0.25

报错信息如下:

[root@Kylin opt]# dnf -y install mysql-community-*
Last metadata expiration check: 0:36:20 ago on Sun 04 Jun 2023 09:42:43 AM CST.
Error: 
 Problem 1: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by mysql-community-client-8.0.25-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mysql-community-client-8.0.25-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mysql-community-client-8.0.25-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mysql-community-client-8.0.25-1.el7.x86_64
 Problem 2: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by mysql-community-client-plugins-8.0.25-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mysql-community-client-plugins-8.0.25-1.el7.x86_64
 Problem 3: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by mysql-community-libs-8.0.25-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mysql-community-libs-8.0.25-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mysql-community-libs-8.0.25-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mysql-community-libs-8.0.25-1.el7.x86_64
 Problem 4: conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by mysql-community-server-8.0.25-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mysql-community-server-8.0.25-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mysql-community-server-8.0.25-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mysql-community-server-8.0.25-1.el7.x86_64
 Problem 5: package mysql-community-devel-8.0.25-1.el7.x86_64 requires libmysqlclient.so.21()(64bit), but none of the providers can be installed
  - package mysql-community-devel-8.0.25-1.el7.x86_64 requires mysql-community-libs(x86-64) >= 8.0.11, but none of the providers can be installed
  - conflicting requests
  - nothing provides libcrypto.so.10()(64bit) needed by mysql-community-libs-8.0.25-1.el7.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by mysql-community-libs-8.0.25-1.el7.x86_64
  - nothing provides libssl.so.10()(64bit) needed by mysql-community-libs-8.0.25-1.el7.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by mysql-community-libs-8.0.25-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

解决报错:

第一步
[root@Kylin ~]# wget http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/compat-openssl10-1.0.2o-4.el8.x86_64.rpm

第二步
[root@Kylin ~]# ll
total 1164
-rw------- 1 root root    2681 Jan  3 13:05 anaconda-ks.cfg
-rw------- 1 root root 1183360 Nov 30  2022 compat-openssl10-1.0.2o-4.el8.x86_64.rpm
-rw-r--r-- 1 root root    2791 Jan  3 13:08 initial-setup-ks.cfg
[root@Kylin ~]# rpm -ivh compat-openssl10-1.0.2o-4.el8.x86_64.rpm --nodeps
warning: compat-openssl10-1.0.2o-4.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:compat-openssl10-1:1.0.2o-4.el8  ################################# [100%]
[root@Kylin ~]# 
第三步再重新执行安装mysql数据库就好了

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值