[MDEV-24629] mariadb-connector-c-config conflicts with MariaDB's MariaDB-common-10.5.8-1.fc32.x86_64.rpm Created: 2021-01-20  Updated: 2023-05-22  Resolved: 2021-09-22

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform RedHat
Affects Version/s: 10.5.8
Fix Version/s: 10.5.13

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Alexey Bychko (Inactive)
Resolution: Fixed Votes: 1
Labels: None
Environment:

fc32, x86_64


Issue Links:
Relates
relates to MDEV-23506 mariadb-connector-c-devel package fro... Closed
relates to MDEV-22971 MariaDB-shared conflicts with libmari... Confirmed

 Description   

[root@grit /]# sudo dnf install MariaDB-server -y
Last metadata expiration check: 0:10:30 ago on Wed 20 Jan 2021 14:07:51.
Dependencies resolved.
==================================================================================================================================================================================================
 Package                                           Architecture                              Version                                             Repository                                  Size
==================================================================================================================================================================================================
Installing:
 MariaDB-server                                    x86_64                                    10.5.8-1.fc32                                       mariadb                                     18 M
Installing dependencies:
 MariaDB-client                                    x86_64                                    10.5.8-1.fc32                                       mariadb                                    8.0 M
 MariaDB-common                                    x86_64                                    10.5.8-1.fc32                                       mariadb                                     88 k
 perl-DBI                                          x86_64                                    1.643-3.fc32                                        updates                                    707 k
 
Transaction Summary
==================================================================================================================================================================================================
Install  4 Packages
 
Total size: 26 M
Installed size: 192 M
Downloading Packages:
[SKIPPED] MariaDB-client-10.5.8-1.fc32.x86_64.rpm: Already downloaded                                                                                                                            
[SKIPPED] MariaDB-common-10.5.8-1.fc32.x86_64.rpm: Already downloaded                                                                                                                            
[SKIPPED] MariaDB-server-10.5.8-1.fc32.x86_64.rpm: Already downloaded                                                                                                                            
[SKIPPED] perl-DBI-1.643-3.fc32.x86_64.rpm: Already downloaded                                                                                                                                   
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /etc/my.cnf from install of MariaDB-common-10.5.8-1.fc32.x86_64 conflicts with file from package mariadb-connector-c-config-3.1.11-1.fc32.noarch

[root@grit /]# rpm -ql mariadb-connector-c-config-3.1.11-1.fc32.noarch
/etc/my.cnf
/etc/my.cnf.d
/etc/my.cnf.d/client.cnf

Removing is invasive on existing fedora packages

 sudo dnf remove mariadb-connector-c.x86_64 mariadb-connector-c-devel.x86_64 mariadb-connector-c-config.noarch
Dependencies resolved.
==================================================================================================================================================================================================
 Package                                                 Architecture                    Version                                                         Repository                          Size
==================================================================================================================================================================================================
Removing:
 mariadb-connector-c                                     x86_64                          3.1.11-1.fc32                                                   @updates                           545 k
 mariadb-connector-c-config                              noarch                          3.1.11-1.fc32                                                   @updates                           497  
 mariadb-connector-c-devel                               x86_64                          3.1.11-1.fc32                                                   @updates                           181 k
Removing dependent packages:
 blender                                                 x86_64                          1:2.83.9-1.fc32                                                 @updates                           154 M
 libreoffice-emailmerge                                  x86_64                          1:6.4.7.2-4.fc32                                                @updates                            26 k
 libreoffice-math                                        x86_64                          1:6.4.7.2-4.fc32                                                @updates                            14 k
 sphinx                                                  x86_64                          2.2.11-14.fc32                                                  @fedora                             18 M
 unoconv                                                 noarch                          0.9.0-3.fc32                                                    @anaconda                          250 k



 Comments   
Comment by Sergei Golubchik [ 2021-09-12 ]

please check whether it's 10.5 only, or needs to be applied to earlier versions too

Comment by Alexey Bychko (Inactive) [ 2021-09-21 ]

fedora32 is EOL already, fedora33 EOL is 2021-11-16, current version is fedora34

Comment by Alexey Bychko (Inactive) [ 2021-09-21 ]

yes, it's still reproducible on CS 10.5. native MariaDB version on current Fedora is 3:10.5.12-1.fc34, so I doubt we need to fix older versions

Comment by Alexey Bychko (Inactive) [ 2021-09-21 ]

pushed 4b7dc7654302d9943cb10f3b943ee222883f6fa5 to test.

Comment by Alexey Bychko (Inactive) [ 2021-09-22 ]

this fix is needed for 10.5+

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