麒麟操作系统信息
[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数据库就好了