Package mariadb-libs is obsoleted by Percona-Server-shared-55

Bug #1558435 reported by M-A-X
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
New
Undecided
Unassigned

Bug Description

I tryed after deleting Percona

yum install mariadb

and got error:
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos for package: 1:mariadb-5.5.44-2.el7.centos.x86_64
Package mariadb-libs is obsoleted by Percona-Server-shared-55, but obsoleting package does not provide for requirements

Tags: pkg centos7 maria
tags: added: pkg
Revision history for this message
EvgeniyPatlan (evgeniy-patlan) wrote :

In order to install mariadb-libs in your case the following steps would help:
sudo rpm -e --nodeps Percona-Server-shared-55 && sudo yum -y install --disablerepo=percona* mariadb-libs

Please note that once you execute 'yum update' mariadb-libs would be replaced again.
So in case if you need to disable this in general you should disable Percona repositories in percona-release.repo file.

Revision history for this message
Wilbur Union (wilburunion) wrote :

Not a BUG . . . just a very poor documentation and naming of libs

5.5 looks like a php version - or a server version of a really old version of mariadb - it is just poor naming of what are libs

This person deleted the wrong file - the mariadb-libs are obsoleted and replaced by in this case actually Percona-server 56 which are really just two lib files

For instance this normally occurs when trying to upgrade the Mariadb server to at this writing version 10.2 FROM 10.1 or MySql server

currently to even upgrade a 10.2 server to the next minor version say from 10.2.9 to 10.2.11 => one has to go to http://yum.mariadb.org/10.2/centos7-amd64/rpms/MariaDB-10.2.11-centos7-x86_64-common.rpm and do an "rpm -Uvh [filename link] --force" to install that one conflicting file because of a "my.cnf" file conflict even once one gets the Mariadb 10.2 server installed

Then one can yum upgrade the rest once the conflict is forced through and away
Mariadb-libs are obsoleted by Percona-Server-shared-56-5.6.37-rel82.2.el7.x86_64 which provides
/etc/my.cnf
/usr/lib64/libmysqlclient.so.18.1.0
/usr/lib64/libmysqlclient_r.so.18.1.0

See also https://bugs.launchpad.net/percona-server/+bug/1558435

The issue is the current mariadb-libs-5.5.56-2.el7 RPM for x86_64 - for CentOS 7.4.1708 for x86_64 / Packages which provides:
mariadb-libs
config(mariadb-libs)
libmysqlclient.so.18()(64bit)
libmysqlclient.so.18(libmysqlclient_16)(64bit)
libmysqlclient.so.18(libmysqlclient_18)(64bit)
mariadb-libs(x86-64)
mysql-libs
mysql-libs(x86-64)

comes up stating it is OBSELETED by Percona-server 56 - which in reality ARE the new libs - "mariadb-libs" - if one READS the Chinese site the issue is shown that happens when trying to upgrade to 10.2 and results in a forced result to the Percona-server 56 which are really just two lib files => SEE AGAIN https://translate.google.com/translate?hl=en&sl=zh-CN&u=http://www.cnblogs.com/lwf-blog/p/7631787.html&prev=search

NOTE the difference of libmysqlclient.so.18.1.0 versus libmysqlclient.so.18 - revision lib version 18.1.0 versus 18

The files are just really poorly named

NOTE Percona-server 55 provides

/etc/my.cnf
/usr/lib64/libmysqlclient.so
/usr/lib64/libmysqlclient.so.18.0.0
/usr/lib64/libmysqlclient_r.so
/usr/lib64/libmysqlclient_r.so.18.0.0

which is similar to mariadb-libs-5.5 version 18 - NOT version 18.1

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3400

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.