Installing Percona server over mysql will get a 'conflict' error late on installation stage

Bug #1505537 reported by Shahriyar Rzayev
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.1
Won't Fix
Undecided
Unassigned
5.5
Triaged
High
Unassigned
5.6
Triaged
High
Unassigned
5.7
New
Undecided
Unassigned

Bug Description

If on the server there is a already installed MySQL ('mysql-community') and after you try to install Percona Server over MySQL it will not warn about conflicting packages before exact "installation" stage.

Total download size: 24 M
Installed size: 124 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/percona-release-x86_64/packages/Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Public key for Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64.rpm is not installed
(1/3): Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64.rpm | 5.8 MB 00:00:15
(2/3): Percona-Server-shared-56-5.6.26-rel74.0.el7.x86_64.rpm | 651 kB 00:00:02
(3/3): Percona-Server-server-56-5.6.26-rel74.0.el7.x86_64.rpm | 18 MB 00:12:52
-----------------------------------------------------------------------------------------------------------------------------------------------
Total 32 kB/s | 24 MB 00:12:52
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
Importing GPG key 0xCD2EFD2A:
 Userid : "Percona MySQL Development Team <email address hidden>"
 Fingerprint: 430b df5c 56e7 c94e 848e e60c 1c4c bdcd cd2e fd2a
 Package : percona-release-0.1-3.noarch (@/percona-release-0.1-3.noarch)
 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
Is this ok [y/N]: y
Running transaction check
Running transaction test

Transaction check error:
  file /etc/my.cnf from install of Percona-Server-shared-56-5.6.26-rel74.0.el7.x86_64 conflicts with file from package mysql-community-server-5.6.23-3.el7.x86_64
  file /usr/bin/mysql from install of Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64 conflicts with file from package mysql-community-client-5.6.23-3.el7.x86_64
  file /usr/bin/mysql_config_editor from install of Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64 conflicts with file from package mysql-community-client-5.6.23-3.el7.x86_64
  file /usr/bin/mysql_waitpid from install of Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64 conflicts with file from package mysql-community-client-5.6.23-3.el7.x86_64
  file /usr/bin/mysqladmin from install of Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64 conflicts with file from package mysql-community-client-5.6.23-3.el7.x86_64
  file /usr/bin/mysqlbinlog from install of Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64 conflicts with file from package mysql-community-client-5.6.23-3.el7.x86_64
  file /usr/bin/mysqlcheck from install of Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64 conflicts with file from package mysql-community-client-5.6.23-3.el7.x86_64
  file /usr/bin/mysqldump from install of Percona-Server-client-56-5.6.26-rel74.0.el7.x86_64 conflicts with file from package mysql-community-client-5.6.23-3.el7.x86_64

Tags: pkg
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :
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/PS-928

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.