Bug #114823 Dependency issue with installing MySQL 80.37/8.4.0/ on Fedora 40
Submitted: 30 Apr 9:59 Modified: 30 Apr 10:17
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:8.0.37 OS:Fedora (Fedora 40)
Assigned to: CPU Architecture:Any
Tags: Fedora

[30 Apr 9:59] Daniël van Eeden
Description:
On Fedora 40 with mysql-server (from system repo) installed the MySQL 8.4.0 RPMs fail to install as there is no replacement for `mysql-errmsg`.

See also: https://fedoraproject.org/wiki/Changes/F40_MariaDB_MySQL_repackaging

How to repeat:
$ sudo dnf localinstall mysql-community-client-8.4.0-10.fc40.x86_64.rpm mysql-community-common-8.4.0-10.fc40.x86_64.rpm mysql-community-devel-8.4.0-10.fc40.x86_64.rpm mysql-community-libs-8.4.0-10.fc40.x86_64.rpm mysql-community-icu-data-files-8.4.0-10.fc40.x86_64.rpm mysql-community-server-8.4.0-10.fc40.x86_64.rpm mysql-community-client-plugins-8.4.0-10.fc40.x86_64.rpm
Last metadata expiration check: 0:00:15 ago on Tue 30 Apr 2024 11:55:02 CEST.
Error: 
 Problem: problem with installed package mysql-errmsg-8.0.36-3.fc40.noarch
  - package mysql-errmsg-8.0.36-3.fc40.noarch from @System requires mysql-common = 8.0.36-3.fc40, but none of the providers can be installed
  - package mysql-errmsg-8.0.36-3.fc40.noarch from fedora requires mysql-common = 8.0.36-3.fc40, but none of the providers can be installed
  - package mysql-community-common-8.4.0-10.fc40.x86_64 from @commandline obsoletes mysql-common < 8.4.0-10.fc40 provided by mysql-common-8.0.36-3.fc40.noarch from @System
  - package mysql-community-common-8.4.0-10.fc40.x86_64 from @commandline obsoletes mysql-common < 8.4.0-10.fc40 provided by mysql-common-8.0.36-3.fc40.noarch from fedora
  - conflicting requests
(try to add '--skip-broken' to skip uninstallable packages)

Suggested fix:
Have mysql-community-common or some other package obsolete mysql-errmsg
[30 Apr 9:59] Daniël van Eeden
.
[30 Apr 10:17] MySQL Verification Team
Hi Mr. van Eeden,

Thank you very much for your bug report.

We have tried to install in the order that you described and got the same error.

Verified as reported.
[30 Apr 12:25] Terje Røsten
Hi,

thanks for your report!

This is most likely due to:

 https://fedoraproject.org/wiki/Changes/F40_MariaDB_MySQL_repackaging

it will affect MySQL 8.0.x too.
[30 Apr 12:30] MySQL Verification Team
Thank you, Terje ......