rpm dependency on "mysql" no longer satisfied by Oracle MySQL 5.5.29 packages
Bug #1095972 reported by
Ville Skyttä
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Alexey Bychko | ||
2.0 |
Fix Released
|
Medium
|
Alexey Bychko | ||
2.1 |
Fix Released
|
Medium
|
Alexey Bychko |
Bug Description
It seems that MySQL-* 5.5.29 rpm packages from Oracle no longer satisfy "mysql" which is required by the xtrabackup rpms, at least on CentOS/RHEL 6, causing xtrabackup to try to pull in CentOS's "mysql" package which will fail because it'll conflict with MySQL-* installed from Oracle packages. Earlier Oracle package versions did Provide "mysql", but that Provides seems to have been dropped without a mention in the release notes.
I suppose changing "Requires: mysql" to "Requires: /usr/bin/mysql" in the xtrabackup rpms would fix this.
Related branches
lp://staging/~abychko/percona-xtrabackup/bug1095972-2.0
- Alexey Kopytov (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedutils/xtrabackup.spec (+1/-1)
lp://staging/~abychko/percona-xtrabackup/bug1095972-2.1
- Alexey Kopytov (community): Approve
-
Diff: 60 lines (+4/-8)2 files modifiedsrc/Makefile (+1/-1)
utils/xtrabackup.spec (+3/-7)
Changed in percona-xtrabackup: | |
status: | New → Confirmed |
tags: | added: pkg |
tags: | added: i29642 |
Changed in percona-xtrabackup: | |
assignee: | nobody → Alexey Bychko (abychko) |
tags: | added: i30889 |
To post a comment you must log in.
Confirmed.
(with MySQL-server- 5.5.29- 1.linux2. 6.x86_64. rpm installed prior)
sudo yum install xtrabackup debuginfo, fastestmirror, presto, security, upgrade-helper solvention. de solvention. de solvention. de ispros. com.bd ispros. com.bd ispros. com.bd xtrabackup. x86_64 0:2.0.4-484.rhel6 will be installed xtrabackup- 2.0.4-484. rhel6.x86_ 64 5.5.29- 1.linux2. 6.x86_64 conflicts mysql 1.66-2. el6_3.x86_ 64 conflicts MySQL
Loaded plugins: auto-update-
Loading mirror speeds from cached hostfile
* base: mirrors.hns.net.in
* centosplus: mirrors.hns.net.in
* elrepo: mirror.
* elrepo-extras: mirror.
* elrepo-kernel: mirror.
* epel: mirrors.
* epel-debuginfo: mirrors.
* epel-source: mirrors.
* extras: mirrors.hns.net.in
* fasttrack: mirrors.hns.net.in
* updates: mirrors.hns.net.in
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package percona-
--> Processing Dependency: mysql for package: percona-
--> Running transaction check
---> Package mysql.x86_64 0:5.1.66-2.el6_3 will be installed
--> Processing Conflict: MySQL-server-
--> Processing Conflict: mysql-5.
--> Finished Dependency Resolution
Error: MySQL-server conflicts with mysql
Error: mysql conflicts with MySQL-server
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Here is what the provides shows: http:// sprunge. us/fBdg
The Percona Server in the right installs fine whereas the MySQL
server fails as above.