yum cannot resolve conflicts when trying to install Percona Server 5.7 when Percona Server 5.6 is currently installed

Bug #1666750 reported by Jaime Sicam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
New
Undecided
Unassigned
5.6
New
Undecided
Unassigned
5.7
Triaged
High
Unassigned

Bug Description

Currently, Percona 5.6 is installed:

# rpm -qa|grep Percona
Percona-Server-shared-56-5.6.35-rel80.0.el7.x86_64
Percona-Server-client-56-5.6.35-rel80.0.el7.x86_64
Percona-Server-server-56-5.6.35-rel80.0.el7.x86_64

Try installing 5.7 with yum:
[root@c7 ~]# yum -d 0 -e 0 -y install Percona-Server-server-57-5.7.16
Error: Percona-Server-shared-compat-57 conflicts with Percona-Server-shared-56-5.6.35-rel80.0.el7.x86_64
Error: Percona-Server-client-57 conflicts with Percona-Server-client-56-5.6.35-rel80.0.el7.x86_64
Error: Percona-Server-server-57 conflicts with Percona-Server-server-56-5.6.35-rel80.0.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@c7 ~]# yum -d 0 -e 0 -y install Percona-Server-client-57-5.7.16
Error: Percona-Server-shared-compat-57 conflicts with Percona-Server-shared-56-5.6.35-rel80.0.el7.x86_64
Error: Percona-Server-client-57 conflicts with Percona-Server-client-56-5.6.35-rel80.0.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@c7 ~]# yum -d 0 -e 0 -y install Percona-Server-shared-57-5.7.16
Error: Percona-Server-shared-compat-57 conflicts with Percona-Server-shared-56-5.6.35-rel80.0.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

It would be ideal the package manager can automatically resolve this issue by uninstalling Percona-Server-56 and upgrade them to Percona-Serer-57

Tags: pkg i69972
Revision history for this message
Jaime Sicam (jssicam) wrote :

A workaround would be to create several yum repositories for each major version of Percona Server.
eg.
percona-57.repo
percona-56.repo
percona-55.repo
percona-51.repo

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

Here is the instruction on how to update from Percona-Server-56 to Percona-Server-57:
https://www.percona.com/doc/percona-server/5.7/upgrading_guide_56_57.html

Jaime Sicam (jssicam)
Changed in percona-server:
status: New → Confirmed
Revision history for this message
Sveta Smirnova (svetasmirnova) wrote :

There is inconsistency with how upgrade handled on DEB-based systems (Xenial).

Revision history for this message
Sveta Smirnova (svetasmirnova) wrote :

Thought this is consistent with MySQL upgrade process.

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

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.