The current dependencies of percona-xtrabackup are as follows:
[root@centos58_01 ~]# yum deplist percona-xtrabackup
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.awo-ha-mk.de
* epel: mirrors.n-ix.net
* extras: centos.mirror.linuxwerk.com
* updates: centos.mirror.linuxwerk.com
Finding dependencies:
package: percona-xtrabackup.x86_64 2.0.5-499.rhel5
dependency: mysql
provider: mysql.i386 5.0.95-3.el5
provider: mysql.x86_64 5.0.95-3.el5
provider: mysql.i386 5.0.95-5.el5_9
provider: mysql.x86_64 5.0.95-5.el5_9
provider: Percona-SQL-client-50.x86_64 5.0.92-b23.85.rhel5
provider: Percona-Server-client-55.x86_64 5.5.29-rel29.4.401.rhel5
provider: Percona-Server-client-51.x86_64 5.1.67-rel14.3.506.rhel5
provider: Percona-XtraDB-Cluster-client.x86_64 1:5.5.29-23.7.2.389.rhel5
The problem is that starting MySQL version 5.5.29 the MySQL-server RPM no loner meets the dependency, as it no longer provides "mysql":
[root@centos58_01 ~]# rpm -qp MySQL-server-5.5.30-1.rhel5.x86_64.rpm --provides
MySQL
MySQL-server
adt_null.so()(64bit)
auth.so()(64bit)
auth_socket.so()(64bit)
auth_test_plugin.so()(64bit)
config(MySQL-server) = 5.5.30-1.rhel5
libdaemon_example.so()(64bit)
libtcmalloc_minimal.so.0()(64bit)
msqlormysql
mypluglib.so()(64bit)
qa_auth_client.so()(64bit)
qa_auth_interface.so()(64bit)
qa_auth_server.so()(64bit)
semisync_master.so()(64bit)
semisync_slave.so()(64bit)
MySQL-server = 5.5.30-1.rhel5
The MySQL-client package provides the following:
[root@centos58_01 ~]# rpm -qp MySQL-client-5.5.30-1.rhel5.x86_64.rpm --provides
MySQL-client
MySQL-client = 5.5.30-1.rhel5
We cannot simply change the dependency of percona-xtrabackup to mysql-client because the mysql client that ships with centos 5 does not provide mysql-client. A solution could be to change to "Requires: /usr/bin/mysql"
Adding the summary of discussion with Alexey.
The current dependencies of percona-xtrabackup are as follows: mirror. linuxwerk. com mirror. linuxwerk. com xtrabackup. x86_64 2.0.5-499.rhel5 SQL-client- 50.x86_ 64 5.0.92-b23.85.rhel5 Server- client- 55.x86_ 64 5.5.29- rel29.4. 401.rhel5 Server- client- 51.x86_ 64 5.1.67- rel14.3. 506.rhel5 XtraDB- Cluster- client. x86_64 1:5.5.29- 23.7.2. 389.rhel5
[root@centos58_01 ~]# yum deplist percona-xtrabackup
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.awo-ha-mk.de
* epel: mirrors.n-ix.net
* extras: centos.
* updates: centos.
Finding dependencies:
package: percona-
dependency: mysql
provider: mysql.i386 5.0.95-3.el5
provider: mysql.x86_64 5.0.95-3.el5
provider: mysql.i386 5.0.95-5.el5_9
provider: mysql.x86_64 5.0.95-5.el5_9
provider: Percona-
provider: Percona-
provider: Percona-
provider: Percona-
The problem is that starting MySQL version 5.5.29 the MySQL-server RPM no loner meets the dependency, as it no longer provides "mysql": 5.5.30- 1.rhel5. x86_64. rpm --provides so()(64bit) so()(64bit) plugin. so()(64bit) MySQL-server) = 5.5.30-1.rhel5 example. so()(64bit) minimal. so.0()( 64bit) so()(64bit) client. so()(64bit) interface. so()(64bit) server. so()(64bit) master. so()(64bit) slave.so( )(64bit)
[root@centos58_01 ~]# rpm -qp MySQL-server-
MySQL
MySQL-server
adt_null.
auth.so()(64bit)
auth_socket.
auth_test_
config(
libdaemon_
libtcmalloc_
msqlormysql
mypluglib.
qa_auth_
qa_auth_
qa_auth_
semisync_
semisync_
MySQL-server = 5.5.30-1.rhel5
The MySQL-client package provides the following: 5.5.30- 1.rhel5. x86_64. rpm --provides
[root@centos58_01 ~]# rpm -qp MySQL-client-
MySQL-client
MySQL-client = 5.5.30-1.rhel5
We cannot simply change the dependency of percona-xtrabackup to mysql-client because the mysql client that ships with centos 5 does not provide mysql-client. A solution could be to change to "Requires: /usr/bin/mysql"