[MDEV-30571] MariaDB-client does not pull MariaDB-compat anymore, conflicts with RHEL packages Created: 2023-02-05 Updated: 2023-02-12 Resolved: 2023-02-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform RedHat |
| Affects Version/s: | N/A |
| Fix Version/s: | 11.0.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
In previous versions, installation of MariaDB-client RPM (e.g. on RHEL 7) would pull MariaDB-compat as a dependency:
But not anymore:
Because of this, if RHEL's mariadb-libs is pre-installed, which is often the case, installation fails:
|
| Comments |
| Comment by Daniel Black [ 2023-02-09 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2023-02-09 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Pushed to bb-11.0-all-builders | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2023-02-09 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It isn't fixed. What the above comment demonstrates is irrelevant, the initial report wasn't about yum update. The previous MariaDB-client (continuing with 10.9 which was the initial example) depends on MariaDB-common, which depends on MariaDB-compat. So, installation of MariaDB-client pulls both MariaDB-common and MariaDB-compat, and the latter replaces mariadb-libs.
It does not happen with the feature packages.
This is the essence of the report. For the conflict shown in the original description, apparently it depends on the environment in which the packages were built. MariaDB-client contains etc/my.cnf/mysql-clients.cnf which mariadb-libs also owns. When MariaDB-client built by buildbot is installed alongside with mariadb-libs, they manage to share the ownership of this folder/file. Packages used for the bug report were built on a different machine, and with them shared custody is not possible, maybe because of the different permissions on my.cnf.d. It's hard to say which release packages may be similarly affected, if any. In any case, it's an effect, not the cause. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2023-02-10 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
3294ef9186b (and parent commit d385856d108 from Sergei's review) bb foundation, bb corp 3294ef9186b
|