[MDEV-22971] MariaDB-shared conflicts with libmariadb3 from openSUSE 15.1 repo Created: 2020-06-20  Updated: 2023-04-27

Status: Confirmed
Project: MariaDB Server
Component/s: Packaging, Platform SUSE
Affects Version/s: 10.2, 10.3, 10.4, 10.5
Fix Version/s: 10.4, 10.5

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-23506 mariadb-connector-c-devel package fro... Closed
relates to MDEV-24629 mariadb-connector-c-config conflicts ... Closed

 Description   

I am setting it to Minor because I don't know an actual use case when one needs to install MariaDB-shared if libmariadb3 is already in the system. If there is such a use case, the priority may need to be changed.

I've made a clean installation of openSUSE 15.1 with default settings, installation variant desktop + Gnome. It came with libmariadb3 package:

libmariadb3-3.1.8-lp151.3.12.1.x86_64

An attempt to install MariaDB-shared from MariaDB repos causes a conflict:

elenst@linux-el2z:~> sudo zypper install MariaDB-shared
Loading repository data...
Reading installed packages...
Resolving package dependencies...
 
The following 2 NEW packages are going to be installed:
  MariaDB-common MariaDB-shared
 
2 new packages to install.
Overall download size: 183.6 KiB. Already cached: 0 B. After the operation, additional
626.5 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package MariaDB-common-10.2.32-1.x86_64
                                                  (1/2),  78.1 KiB (298.0 KiB unpacked)
Retrieving: MariaDB-common-10.2.32-1.x86_64.rpm ....................[done (16.0 KiB/s)]
Retrieving package MariaDB-shared-10.2.32-1.x86_64
                                                  (2/2), 105.5 KiB (328.6 KiB unpacked)
Retrieving: MariaDB-shared-10.2.32-1.x86_64.rpm ....................[done (48.0 KiB/s)]
 
Checking for file conflicts: ...................................................[error]
Detected 1 file conflict:
 
File /usr/lib64/libmariadb.so.3
  from install of
     MariaDB-shared-10.2.32-1.x86_64 (mariadb)
  conflicts with file from package
     libmariadb3-3.1.8-lp151.3.12.1.x86_64 (@System)
 
File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.

Tried 10.2 and 10.5, I assume it's the same for 10.3 and 10.4.


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