Painful Yum dependencies on CentOS6.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
High
|
Ignacio Nin | ||
5.1 |
Fix Released
|
High
|
Ignacio Nin | ||
5.5 |
Fix Released
|
High
|
Ignacio Nin | ||
5.6 |
Invalid
|
High
|
Ignacio Nin | ||
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
High
|
Daniel Nichter | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
High
|
Ignacio Nin |
Bug Description
(Probably a Percona-Server packaging issue, but reporting it here because it manifests in a percona-toolkit install)
I have a stock CentOS6.3 install
%> cat /etc/centos-release
CentOS release 6.3 (Final)
%> uname -r
2.6.32-
With the Percona Yum repository package:
%> yum info percona-release
Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
* base: mirror.stanford.edu
* extras: mirrors.kernel.org
* updates: mirrors.kernel.org
68 packages excluded due to repository priority protections
Installed Packages
Name : percona-release
Arch : x86_64
Version : 0.0
Release : 1
Size : 3.6 k
Repo : installed
Summary : Percona RPM repository
URL : http://
License : GPL version 2
Description : Percona release file. This package contains yum
: configuration for the Percona RPM Repository, as well as the public
: GPG keys used to sign them.
I have the following packages installed:
%> rpm -qa |grep -i percona
Percona-
percona-
Percona-
Percona-
(installed via: `yum install Percona-
Trying to install percona-toolkit, I get the following:
%> yum install percona-toolkit
...
Transaction Check Error:
file /usr/lib64/
file /usr/lib64/
Error Summary
-------------
If I look at:
%> yum deplist perl-DBD-MySQL
...
dependency: libmysqlclient.
provider: mysql-libs.x86_64 5.1.61-4.el6
provider: Percona-
provider: Percona-
...
We see that perl-DBD-MySQL requires libmysqlclient.
I can get around this by installing packages in the following order:
%> rpm -qa |grep -i percona
percona-
%> yum install Percona-
...
%> yum install Percona-
...
But it's a pain to have to do this every time, I'd rather have the dependencies *just work*
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 27 lines (+5/-1)1 file modifiedbuild/percona-sql-50.spec (+5/-1)
- Percona core: Pending requested
-
Diff: 22 lines (+5/-4)1 file modifiedbuild/percona-server.spec (+5/-4)
- Percona core: Pending requested
-
Diff: 33 lines (+6/-1)2 files modifiedbuild/percona-server.spec (+2/-1)
build/percona-shared-compat.spec (+4/-0)
- Raghavendra D Prabhu (community): Approve
-
Diff: 61 lines (+9/-4)2 files modifiedbuild/percona-shared-compat.spec (+4/-0)
build/percona-xtradb-cluster.spec (+5/-4)
Changed in percona-toolkit: | |
milestone: | none → 2.1.4 |
Changed in percona-toolkit: | |
assignee: | Brian Fraser (fraserbn) → Ignacio Nin (ignacio-nin) |
tags: | added: pkg |
no longer affects: | percona-toolkit/2.1 |
Changed in percona-toolkit: | |
milestone: | 2.1.4 → 2.1.5 |
milestone: | 2.1.5 → 2.1.4 |
tags: |
added: repo removed: pkg |
tags: | added: pkg |
no longer affects: | percona-toolkit/2.1 |
Changed in percona-toolkit: | |
milestone: | 2.2.1 → none |
status: | Confirmed → In Progress |
assignee: | Ignacio Nin (ignacio-nin) → Daniel Nichter (daniel-nichter) |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → In Progress |
Changed in percona-xtradb-cluster: | |
importance: | Undecided → High |
status: | New → Fix Committed |
assignee: | nobody → Ignacio Nin (ignacio-nin) |
Changed in percona-server: | |
milestone: | none → 5.5.30-30.2 |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.5.30-23.7.3 |
Changed in percona-xtradb-cluster: | |
status: | Fix Committed → Fix Released |
I can confirm this "bug" (annoyance, more than anything) on a fresh install of CentOS 6.3. Trying to install the whole package set (5.5 version) (Percona Server, XtraBackup and percona-toolkit) have undesired lateral effects by default: It tries to delete (ana)cron - because it depends on Postfix, which depends on what 5.1 server provides and also creates a conflict between Percona- Server- shared- 51 and Percona- Server- shared- 55, as this bug reports.
I can also confirm that the workaround solves the dependency problem.