[MDEV-23506] mariadb-connector-c-devel package from standard RHEL 8 repo conflicts with MariaDB's packages Created: 2020-08-18 Updated: 2021-09-23 Resolved: 2021-09-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform RedHat |
| Affects Version/s: | 10.5.5 |
| Fix Version/s: | 10.3.32, 10.4.22, 10.5.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Alexey Bychko (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | not-10.1, not-10.2 | ||
| Issue Links: |
|
||||||||||||
| Description |
|
The mariadb-connector-c-devel package from the standard RHEL 8 repo conflicts with MariaDB's packages. e.g.:
This was first reported here: https://mariadb.com/kb/en/odd-mariadb-connector-c-error-on-update/ As far as I can tell, it looks like the problem is that our MariaDB-devel package should take precedence over the mariadb-connector-c-devel package from the standard RHEL 8 repo, but it currently doesn't. We solved a similar problem for the MariaDB-devel package by making mariadb-connector-c an "alternative name" for the MariaDB-devel package:
https://github.com/MariaDB/server/blob/mariadb-10.5.5/cmake/cpack_rpm.cmake#L238 I suspect that we need a similar rule to add mariadb-connector-c-devel as an alternative name for the MariaDB-devel package. |
| Comments |
| Comment by mark f edwards [ 2020-08-19 ] | |||||||||||||||
|
we have the same issue with 10.4: # dnf -y install MariaDB-devel ; # dnf -y install mariadb-devel Running transaction check EDIT: same issue with 10.3...? 10.3 was first released on 2017-04-16 - i get the feeling that mariadb-connector-c is not maintained anymore? | |||||||||||||||
| Comment by Geoff Montee (Inactive) [ 2020-08-19 ] | |||||||||||||||
|
Hi edwardsmarkf, I had to work around the problem like this: 1.) Check installed packages:
2.) Try to install the MariaDB Connector/C packages from MariaDB's repo, and it fails:
3.) Remove the 3 mariadb-connector-c* packages from the standard RHEL/CentOS 8 repo:
4.) Try again to install the MariaDB Connector/C packages from MariaDB's repo, and it succeeds this time:
| |||||||||||||||
| Comment by mark f edwards [ 2020-08-19 ] | |||||||||||||||
|
than you Geoff - here is what i see now:
Thank you, Mark Edwards On Wed, Aug 19, 2020 at 12:25 PM Geoff Montee (Jira) <jira@mariadb.org> | |||||||||||||||
| Comment by Geoff Montee (Inactive) [ 2020-08-19 ] | |||||||||||||||
|
Hi edwardsmarkf, That's odd. I don't know why that error would occur for you, but it wouldn't occur for me. Did you recently configure your MariaDB repository, or has it been configured for a while? If your repository configuration is too old, then I wonder if you could be hitting If that is your problem, then it may help to run the mariadb_repo_setup script to reconfigure your repository, as explained here: https://mariadb.com/kb/en/mariadb-package-repository-setup-and-usage/ e.g.:
| |||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-09-21 ] | |||||||||||||||
|
the issue is confirmed on RHEL-8. installed packages:
the following is errored as per description:
the best way is to set alternative name for devel package, to do not create more provides:
| |||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-09-21 ] | |||||||||||||||
|
fixed in 25d6bbcd5172eb9af0a68be11fb662457a7d572b | |||||||||||||||
| Comment by mark f edwards [ 2021-09-22 ] | |||||||||||||||
|
i still see:
[root@edwardsmarkf reeval_section]# dnf list installed | grep mariadb ; Thank you, Mark Edwards On Tue, Sep 21, 2021 at 2:41 AM Alexey Bychko (Jira) <jira@mariadb.org> | |||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-09-23 ] | |||||||||||||||
|
edwardsmarkf please see FixVersions field - there is 10.5.13, you still have 10.5.12 | |||||||||||||||
| Comment by mark f edwards [ 2021-09-23 ] | |||||||||||||||
|
thanks – i noticed that after i sent the email. THANK YOU for maintaining Thank you, Mark Edwards On Thu, Sep 23, 2021 at 1:32 AM Alexey Bychko (Jira) <jira@mariadb.org> |