Upgrading MariaDB 5.5 to 10.1.11 fails with RPM (MDEV-9584)

[MDEV-9799] ERROR with rpm_check_debug vs depsolve upon installation of MariaDB-shared over MySQL 5.6, 5.7 (from Oracle repo) on CentOS 5 Created: 2016-03-27  Updated: 2020-04-22

Status: Open
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: N/A
Fix Version/s: 10.1

Type: Technical task Priority: Minor
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None
Environment:

CentOS 5


Issue Links:
PartOf
is part of MDEV-22315 MySQL -> MariaDB upgrades Open
Relates
relates to MDEV-9766 Testing for MDEV-9584 (Relaxed rules ... Stalled
Sprint: 10.1.14

 Description   

It seems to happen only on CentOS 5 (RHEL 5 also fails, but with a different error, others just have conflicts as in MDEV-9798).

Install MySQL server, client from Oracle repo (the example below is for MySQL 5.7, with 5.6 it looks the same)

$ sudo yum install mysql-community-server mysql-community-client
...
Installed: mysql-community-client.x86_64 0:5.7.11-1.el5 mysql-community-client.i686 0:5.7.11-1.el5 mysql-community-server.x86_64 0:5.7.11-1.el5
Dependency Installed: mysql.x86_64 0:5.7.11-1.el5 mysql-community-common.x86_64 0:5.7.11-1.el5 mysql-community-libs.x86_64 0:5.7.11-1.el5 mysql-community-libs-compat.x86_64 0:5.7.11-1.el5
Complete!

Install (at least) MariaDB-shared and MariaDB-common for dependency (can install other packages as well, result is the same):

$ sudo yum install MariaDB-10.1.13-centos5-x86_64-shared.rpm MariaDB-10.1.13-centos5-x86_64-common.rpm --nogpgcheck
...
Dependencies Resolved
 
===========================================================================================================================================
 Package                      Arch                 Version                   Repository                                               Size
===========================================================================================================================================
Installing:
 MariaDB-common               x86_64               10.1.13-1                 MariaDB-10.1.13-centos5-x86_64-common.rpm                50 k
 MariaDB-shared               x86_64               10.1.13-1                 MariaDB-10.1.13-centos5-x86_64-shared.rpm               1.6 M
 
Transaction Summary
===========================================================================================================================================
Install      2 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         
 
Total download size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
mysql is needed by (installed) mysql-community-common-5.7.11-1.el5.x86_64
Complete!

Possibly it's not a MariaDB problem, because it also says

1, ['Please report this error in bugzilla'])


Generated at Thu Feb 08 07:37:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.