buggy Percona-Server-shared-51 obsoletes mysql-libs on RHEL6

Bug #1555684 reported by Frank Grötzner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
New
Undecided
Alexey Bychko

Bug Description

Hi all,

Percona-Server-shared-51 obsoletes mysql-libs, but that's a substitution that's not working:
If you install the mysql-server package from RHEL repositories, the server can't start, because Percona-Server-shared-51 doesn't provide /usr/share/mysql/english/errmsg.sys:

[root@vm-filialservicedb1e ~]# /etc/init.d/mysqld start
Initializing MySQL database: Installing MySQL system tables...
160310 16:05:03 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
160310 16:05:03 [ERROR] Aborting

Furthermore, the RHEL mysql-client isn't working because of:

[root@vm-filialservicedb1e ~]# mysql
mysql: relocation error: mysql: symbol strmov, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference

This Bug may be related to https://bugs.launchpad.net/percona-server/+bug/1497893

Best regards,
Frank

Changed in percona-xtradb-cluster:
assignee: nobody → Tomislav Plavcic (tplavcic)
Changed in percona-xtradb-cluster:
assignee: Tomislav Plavcic (tplavcic) → Alexey Bychko (abychko)
Revision history for this message
EvgeniyPatlan (evgeniy-patlan) wrote :

Please correct me if I'm wrong.
you have the following scenario:
- installed percona-repo
- once it is done you are installing mysql-server from RHEL repo.

In this scenario mysql-libs rpm would be replaced by Percona-Server-shared-51.
The easiest way to prevent this is to disable percona-repo.
So here is the command example which can be used:
`sudo yum install --disablerepo=percona* mysql-server`

So in this case mysql-libs rpm wouldn't be replaced.

In case if you want to install Xtrabackup everything would work correctly.

Revision history for this message
Frank Grötzner (groetzner) wrote :

Your mentioned scenario is correct and something like "sudo yum install --disablerepo=percona* mysql-server" is our workaround for this bug :-) But IMHO a package shouldn't obsolete another one which it cannot fully replace!
Even with additional repositories enabled it should be possible to use yum without any disablerepo or enablerepo flags for normal operations! :-)

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/PXC-1890

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.