[MDEV-29531] Conflicts with mysql-common files on CentOS 8 installations Created: 2022-09-14  Updated: 2023-05-30  Resolved: 2023-05-30

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

Type: Bug Priority: Major
Reporter: David Forbush Assignee: Sergei Golubchik
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

CentOS 8


Issue Links:
Duplicate
duplicates MDEV-24862 Conflicts with mysql-common files on ... Closed

 Description   

When trying to install MariaDB 10.5, 10.4 or even 10.3 from your repos for CentOS 8, and on the side installing postfix with SQL support, which installs mysql-common, you get conflicting files between the two packages and postfix cannot be installed (or MariaDB cannot be installed if you installed postfix first, no matter what)
This is not resolvable by any exclusions as these are dependencies.
If you install mariab 10.3.27 from the CentOS repo aside with postfix this error does not occur.

So at the moment it is not possible to use 10.4 or 10.5 together with postfix on CentOS 8.

It would be nice if this could be fixed asap.

Thanks



 Comments   
Comment by David Forbush [ 2022-09-14 ]

This issue reported above persists with MariaDB 10.6 and AlmaLinux 8 and GhettoForge Plus dovecot23-mysql. The issue for the dovecote23-mysql package is likewise the absence of Libmysqlclient.so.21.

Comment by David Forbush [ 2022-09-15 ]

Thanks, @Sergei Golubchik! I would be keen to note that a custom Ghettoforge package for dovecot23-mysql will be instrumental in finally bringing official support for MariaDB >10.3 to CyberPanel on AlmaLinux 8, CentOS 8, and Rocky Linux. Lamentably, at this point in time, CyberPanel is forced to run on the antiquated MariaDB 10.3 given the MySQL dependency collisions that you are thoroughly acquainted with from the earlier ticket with the surprisingly similar postfix-mysql package. Just so you are aware, I am tracking this hopefully inbound fix for dovecot23-mysql with CyberPanel's head developer Usman Nasir (are you here, @usmannasir? ) here on GitHub so things move like clockwork: https://github.com/usmannasir/cyberpanel/issues/967

Comment by Sergei Golubchik [ 2022-09-15 ]

Hifihedgehog, I'm not sure I understand what do you think we can do about it. We cannot provide libmysqlclient.so.21. We cannot make dovecot23-mariadb, it's ghettoforge that has to build dovecot with libmariadb instead of libmysqlclient. What can we do about this conflict?

Comment by David Forbush [ 2022-09-15 ]

Well, in the past, someone here did reach out to Ghettoforge and had them push a revised build of postfix-mysql into their gf-testing repository that instead used libmariadb. For context, relevant comments are these:

https://jira.mariadb.org/browse/MDEV-24862?focusedCommentId=180124&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-180124

https://jira.mariadb.org/browse/MDEV-24862?focusedCommentId=182318&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-182318

Comment by David Forbush [ 2022-09-20 ]

@Seigei Golubchik, I reached out to the Ghettoforge user mailing list and was told by Peter there that an updated package should be coming soon. I will update you on this ticket when this is finished.

Comment by Sergei Golubchik [ 2023-05-30 ]

Considering that there's apparently nothing we can do and that according to https://github.com/usmannasir/cyberpanel/issues/967#issuecomment-1251776960

Correct. I already reached out to the Ghettoforge mailing list (users@lists.ghettoforge.org) and this was their response:

I'll look into this, I should be able to make a similar change as I did for postfix.

Peter

I'm going to close this ticket. Please, comment, if you disagree and I'll reopen it

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