Bug 1955704

Summary: Fix MariaDB 10.5 Conflicts with MySQL package
Product: Red Hat Enterprise Linux 9 Reporter: Michal Schorm <mschorm>
Component: mariadbAssignee: Michal Schorm <mschorm>
Status: CLOSED CURRENTRELEASE QA Contact: Jakub Heger <jheger>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: databases-maint, hhorak, ljavorsk
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mariadb-10.5.10-2.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:55:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1959855    
Bug Blocks:    

Description Michal Schorm 2021-04-30 17:04:35 UTC
Originally, the "mariadb" package in Fedora conflicts with MySQL package which is named "community-mysql" in Fedora, but is names just "mysql" in RHEL.

We need to fix the RPM "Conflicts" tags to apply in RHEL.

Something simmilar as this could be an elegant solution which would work for both upstream and downstream:
https://gitlab.com/redhat/centos-stream/rpms/mariadb-connector-c/-/commit/38d723b49603036d797e313e6278761c7ac45dbb

Comment 1 Michal Schorm 2021-04-30 17:07:32 UTC
Undeclared file conflicts:
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/bin/mysqldumpslow which is also provided by mysql-server-8.0.22-3.el9.x86_64
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/bin/perror which is also provided by mysql-server-8.0.22-3.el9.x86_64
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/share/man/man1/mysql_upgrade.1.gz which is also provided by mysql-server-8.0.22-3.el9.x86_64
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/share/man/man1/mysqldumpslow.1.gz which is also provided by mysql-server-8.0.22-3.el9.x86_64
mariadb-server-utils-3:10.5.9-7.el9.x86_64 provides /usr/share/man/man1/perror.1.gz which is also provided by mysql-server-8.0.22-3.el9.x86_64

Comment 2 Michal Schorm 2021-05-02 13:21:03 UTC
Fixed in the following Fedora upstream commit:
  https://src.fedoraproject.org/rpms/mariadb/c/939918b1e0d99f5d7ef4aebe8ce7321d740c6b58?branch=rawhide