[MDEV-20724] Can't install MariaDB-server 10.4.8-1 on CentOS 8 Created: 2019-10-02  Updated: 2019-10-06  Resolved: 2019-10-06

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform RedHat
Affects Version/s: 10.4.8
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Anna Toropova Assignee: Sergei Golubchik
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

CentOS 8



 Description   

I don't want to install 10.3.11 from AppStream repo.
There is no repo for CentOS8 in repolist.
I added repo for RHEL8.
If I don't add --disablerepo=AppStream, yum (dfn) finds mariadb-server from AppStream. If I add --disablerepo=AppStream I have errors with libcrypto.so and libssl.so

# yum --disablerepo=AppStream install MariaDB-server MariaDB-client
CentOS-8 - Base                                                                                                                                                    1.6 kB/s | 3.8 kB     00:02    
CentOS-8 - Extras                                                                                                                                                  1.4 kB/s | 1.5 kB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                      18 kB/s |  29 kB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                     463 kB/s | 1.8 MB     00:03    
MariaDB                                                                                                                                                            2.3 kB/s | 2.9 kB     00:01    
Ошибка: 
 Проблема 1: cannot install the best candidate for the job
  - nothing provides libcrypto.so.10()(64bit) needed by MariaDB-server-10.4.8-1.el7.centos.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by MariaDB-server-10.4.8-1.el7.centos.x86_64
  - nothing provides libssl.so.10()(64bit) needed by MariaDB-server-10.4.8-1.el7.centos.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by MariaDB-server-10.4.8-1.el7.centos.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by MariaDB-server-10.4.8-1.el7.centos.x86_64
 Проблема 2: cannot install the best candidate for the job
  - nothing provides libcrypto.so.10()(64bit) needed by MariaDB-client-10.4.8-1.el7.centos.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by MariaDB-client-10.4.8-1.el7.centos.x86_64
  - nothing provides libssl.so.10()(64bit) needed by MariaDB-client-10.4.8-1.el7.centos.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by MariaDB-client-10.4.8-1.el7.centos.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by MariaDB-client-10.4.8-1.el7.centos.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

The only way to install:

# wget http://yum.mariadb.org/10.4/rhel8-amd64/rpms/MariaDB-server-10.4.8-1.el8.x86_64.rpm
# yum install MariaDB-server-10.4.8-1.el8.x86_64.rpm

Could you add new repo for CentOS 8 and resolve problems with lybcrypto/libssl?



 Comments   
Comment by Sergei Golubchik [ 2019-10-06 ]

MariaDB-server-10.4.8-1.el8.x86_64.rpm requires libssl.so.1.1 which is provided by the openssl-libs-1.1.1-8.el8.x86_64.rpm, available from BaseOS repo:

$ rpm -q --requires -p MariaDB-server-10.4.8-1.el8.x86_64.rpm |grep ssl
libssl.so.1.1()(64bit)
libssl.so.1.1(OPENSSL_1_1_0)(64bit)
libssl.so.1.1(OPENSSL_1_1_1)(64bit)

But your error message says

- nothing provides libcrypto.so.10()(64bit) needed by MariaDB-server-10.4.8-1.el7.centos.x86_64

looks like you've mistakenly tried to install RHEL7 package (openssl 1.0), instead of RHEL8 (openssl 1.1).

Generated at Thu Feb 08 09:01:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.