[MDEV-16701] conflict in RPM packages Created: 2018-07-06  Updated: 2018-07-11  Resolved: 2018-07-11

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 5.5, 10.0
Fix Version/s: 5.5.61, 10.0.36

Type: Bug Priority: Critical
Reporter: Oleksandr Byelkin Assignee: Daniel Bartholomew
Resolution: Fixed Votes: 0
Labels: None


 Description   

centos 7.4 and 7.3 on buildbot has problem with rpm installation:

Transaction check error:
  file /usr/lib/libmysqlclient.so.18.0.0 conflicts between attempted installs of MariaDB-shared-5.5.61-1.el7.centos.aarch64 and MariaDB-compat-5.5.61-1.el7.centos.aarch64

according to Serg it is the cause (usage of 5.5 as 5.3) for compatibility packages

lrwxrwxrwx 1 dbart my            39 Apr 20 20:48 mariadb-shared-5.3-aarch64.rpm -> MariaDB-5.5.59-rhel7-aarch64-shared.rpm
lrwxrwxrwx 1 dbart my            37 Jan 18 01:17 mariadb-shared-5.3-ppc64.rpm -> MariaDB-5.5.58-rhel7-ppc64-shared.rpm
lrwxrwxrwx 1 dbart my            39 Jan 18 01:28 mariadb-shared-5.3-ppc64le.rpm -> MariaDB-5.5.58-rhel7-ppc64le-shared.rpm



 Comments   
Comment by Daniel Bartholomew [ 2018-07-09 ]

We have no official 5.3 builds for those architectures. So we need to build 5.3 manually on those builders. I tried to build them before when I was setting up the builders but failed, which is why we used the 5.5 compatibility packages instead. Since those aren't working we'll need to build the 5.3 rpms manually

Comment by Elena Stepanova [ 2018-07-10 ]

Same on 10.0:

Transaction check error:
  file /usr/lib/libmysqlclient.so.18.0.0 conflicts between attempted installs of MariaDB-shared-10.0.36-1.el7.centos.aarch64 and MariaDB-compat-10.0.36-1.el7.centos.aarch64

Comment by Daniel Bartholomew [ 2018-07-10 ]

serg Do you have notes somewhere on how to build 5.3 rpms? All of the instructions in the KB seem to have been removed, and I'm not having much luck. When we used to build 5.[1-3] packages in buildbot we used the bakery scripts, but I don't know how to use those, and I don't think the scripts were ever updated to support aarch64, ppc64, or ppc64le.

Comment by Daniel Bartholomew [ 2018-07-11 ]

serg was able to build the missing 5.3 packages, so future 5.5, 10.0, and etc... builds will not have the conflict.

Generated at Thu Feb 08 08:30:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.