installing xtrabackup test package prior to PS/PXC makes installation of the server impossible

Bug #1625800 reported by Tomislav Plavcic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Status tracked in 2.4
2.2
New
Undecided
Unassigned
2.3
New
Undecided
Unassigned
2.4
New
Undecided
Unassigned

Bug Description

XtraBackup test package depends on mysql client so if you for some reason install full xtrabackup installation together with the test package you'll no longer be able to install PS/PXC on centos/ubuntu/debian.
That's because the package manager pulls any package that satisfies that it includes mysql client and our PS/PXC client packages conflict with those.

Here's how it looks:
CENTOS6:
========
[vagrant@localhost ~]$ sudo yum install percona-xtrabackup-test
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.met.hu
 * epel: mirrors.n-ix.net
 * extras: mirror.met.hu
 * updates: mirror.met.hu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package percona-xtrabackup-test.x86_64 0:2.3.5-1.el6 will be installed
--> Processing Dependency: /usr/bin/mysql for package: percona-xtrabackup-test-2.3.5-1.el6.x86_64
--> Running transaction check
---> Package Percona-Server-client-51.x86_64 0:5.1.73-rel14.12.624.rhel6 will be installed
--> Finished Dependency Resolution

  [vagrant@localhost ~]$ sudo yum install Percona-Server-server-56
  Loaded plugins: fastestmirror, security
  Loading mirror speeds from cached hostfile
   * base: mirror.met.hu
   * epel: mirror.fraunhofer.de
   * extras: mirror.met.hu
   * updates: mirror.met.hu
  Setting up Install Process
  Resolving Dependencies
  --> Running transaction check
  ---> Package Percona-Server-server-56.x86_64 0:5.6.32-rel78.0.el6 will be installed
  --> Processing Dependency: Percona-Server-client-56 for package: Percona-Server-server-56-5.6.32-rel78.0.el6.x86_64
  --> Processing Dependency: Percona-Server-shared-56 for package: Percona-Server-server-56-5.6.32-rel78.0.el6.x86_64
  --> Running transaction check
  ---> Package Percona-Server-client-56.x86_64 0:5.6.32-rel78.0.el6 will be installed
  ---> Package Percona-Server-shared-56.x86_64 0:5.6.32-rel78.0.el6 will be installed
  --> Processing Conflict: Percona-Server-client-56-5.6.32-rel78.0.el6.x86_64 conflicts Percona-Server-client-51
  --> Finished Dependency Resolution
  Error: Percona-Server-client-56 conflicts with Percona-Server-client-51-5.1.73-rel14.12.624.rhel6.x86_64
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest

UBUNTU TRUSTY:
==============
vagrant@t-ubuntu1404-64:~$ sudo apt-get install percona-xtrabackup percona-xtrabackup-test
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libdbd-mysql-perl libdbi-perl libev4 libmysqlclient18 libterm-readkey-perl
  mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common
Suggested packages:
  libmldbm-perl libnet-daemon-perl libplrpc-perl libsql-statement-perl
The following NEW packages will be installed:
  libdbd-mysql-perl libdbi-perl libev4 libmysqlclient18 libterm-readkey-perl
  mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common
  percona-xtrabackup percona-xtrabackup-test
0 upgraded, 11 newly installed, 0 to remove and 239 not upgraded.
Need to get 8,448 kB of archives.
After this operation, 70.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

vagrant@t-ubuntu1404-64:~$ sudo apt-get install percona-server-server-5.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 percona-server-server-5.6 : Depends: percona-server-client-5.6 (>= 5.6.32-78.0-1.trusty) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Tags: doc pkg
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/PXB-1402

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.