percona-xtrabdb-cluster-server and percona-xtrabackup-21 dependency issue

Bug #1339368 reported by Frederic Descamps
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Confirmed
Undecided
Unassigned

Bug Description

When percona-xtrabackup-21 is installed (2.1.9) , percona-xtrabdb-cluster-server-55 cannot be installed
without removing that package and install percona-xtrabackup (2.2.3)

>2.1.6 is supported so it should not fail.

This is using yum on CentOS.

Tags: pkg
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Is there a reason/bug why percona-xtrabackup 2.1.x may be required? Otherwise
latest PXB is strongly recommended for use with PXC.

Revision history for this message
Frederic Descamps (lefred) wrote : Re: [Bug 1339368] Re: percona-xtrabdb-cluster-server and percona-xtrabackup-21 dependency issue

No other reason then customer didn't test it and approved it. Or customer
wants to just add a new node in his existing environment before upgrading
later. Percona XtraDB Cluster server-55 says it needs xtrabackup > 2.1.6...
so it should be possible to use 2.1.9 without any problem isn't it ?

If not update the package description and add it in the documentation ;)

On Wed, Jul 9, 2014 at 12:42 PM, Raghavendra D Prabhu <
<email address hidden>> wrote:

> Is there a reason/bug why percona-xtrabackup 2.1.x may be required?
> Otherwise
> latest PXB is strongly recommended for use with PXC.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1339368
>
> Title:
> percona-xtrabdb-cluster-server and percona-xtrabackup-21 dependency
> issue
>
> Status in Percona XtraDB Cluster - HA scalable solution for MySQL:
> New
>
> Bug description:
> When percona-xtrabackup-21 is installed (2.1.9) ,
> percona-xtrabdb-cluster-server-55 cannot be installed
> without removing that package and install percona-xtrabackup (2.2.3)
>
> >2.1.6 is supported so it should not fail.
>
> This is using yum on CentOS.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1339368/+subscriptions
>

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

I understand the issue, the problem is

2.1 RPM provides xtrabackup (and percona-xtrabackup)
2.1 debian provides xtrabackup (and percona-xtrabackup)

2.2 RPM provides percona-xtrabackup
2.2 debian provides xtrabackup and percona-xtrabackup

This inconsistency needs to be fixed, so I can mark the dependency on xtrabackup
(based on virtual package) than percona-xtrabackup.

tags: added: pkg
Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Able to reproduce the same.

[root@centos65 ~]# rpm -qa | grep -i percona
percona-release-0.0-1.x86_64
Percona-Server-shared-55-5.5.36-rel34.2.el6.x86_64
percona-xtrabackup-21-2.1.9-746.rhel6.x86_64
[root@centos65 ~]#
[root@centos65 ~]#
[root@centos65 ~]# yum install Percona-XtraDB-Cluster-server-55.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centosmirror.go4hosting.in
 * epel: epel.mirror.net.in
 * extras: centosmirror.go4hosting.in
 * remi: rpms.famillecollet.com
 * remi-php55: rpms.famillecollet.com
 * remi-php56: rpms.famillecollet.com
 * remi-test: rpms.famillecollet.com
 * updates: centosmirror.go4hosting.in
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package Percona-XtraDB-Cluster-server-55.x86_64 1:5.5.37-25.10.756.el6 will be installed
--> Processing Dependency: percona-xtrabackup >= 2.1.6 for package: 1:Percona-XtraDB-Cluster-server-55-5.5.37-25.10.756.el6.x86_64
--> Processing Dependency: socat for package: 1:Percona-XtraDB-Cluster-server-55-5.5.37-25.10.756.el6.x86_64
--> Processing Dependency: Percona-XtraDB-Cluster-client-55 for package: 1:Percona-XtraDB-Cluster-server-55-5.5.37-25.10.756.el6.x86_64
--> Processing Dependency: Percona-XtraDB-Cluster-galera-25 for package: 1:Percona-XtraDB-Cluster-server-55-5.5.37-25.10.756.el6.x86_64
--> Running transaction check
---> Package Percona-XtraDB-Cluster-client-55.x86_64 1:5.5.37-25.10.756.el6 will be installed
---> Package Percona-XtraDB-Cluster-galera-2.x86_64 0:2.10-1.188.rhel6 will be installed
---> Package percona-xtrabackup.x86_64 0:2.2.3-4982.el6 will be installed
---> Package socat.x86_64 0:1.7.2.3-1.el6 will be installed
--> Processing Dependency: libreadline.so.5()(64bit) for package: socat-1.7.2.3-1.el6.x86_64
--> Running transaction check
---> Package compat-readline5.x86_64 0:5.2-17.1.el6 will be installed
--> Processing Conflict: percona-xtrabackup-21-2.1.9-746.rhel6.x86_64 conflicts percona-xtrabackup
--> Finished Dependency Resolution
Error: percona-xtrabackup-21 conflicts with percona-xtrabackup-2.2.3-4982.el6.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@centos65 ~]#
[root@centos65 ~]#

Changed in percona-xtradb-cluster:
status: New → Confirmed
Revision history for this message
Krunal Bauskar (krunal-bauskar) wrote :

It is recommended to upgrade to 5.6. This issue seems to be with 5.5.

Revision history for this message
EvgeniyPatlan (evgeniy-patlan) wrote :

As 5.5 is not in development any more the best choice(as Krunal mentioned) is to update to 5.6 or 5.7 where the issue doesn't exists.

Revision history for this message
Ville Ojamo (ville-ojamo) wrote :

Similar bug affects also Percona XtraDB Cluster 5.6 when percona-xtrabackup-24 is installed.

The update of Percona XtraDB Cluster 5.6 fails if percona-xtrabackup-24 is installed:
"
Error: percona-xtrabackup-24 conflicts with percona-xtrabackup-2.3.8-1.el6.x86_64
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
1:Percona-XtraDB-Cluster-server-56-5.6.35-26.20.3.el6.x86_64 has missing requires of percona-xtrabackup >= ('0', '2.2.5', None)
"

Workaround is to remove percona-xtrabackup-24 and install percona-xtrabackup, then update, and afterwards re-install percona-xtrabackup-24.

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-1697

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.