upgrading only server package can lead to different client/shared package versions

Bug #1625998 reported by Tomislav Plavcic
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
New
Undecided
Unassigned

Bug Description

This is on centos only and seems ok on ubuntu/debian.
If I install server with: yum install Percona-Server-server-56 and then later want to upgrade only server without upgrading other system packages via "yum update/upgrade" but instead just try to upgrade PS with using "yum update Percona-Server-server-56" I'll end up with server package being the latest version and client/shared packages being some old version:
The server should most probably depend on the same version of client/shared packages.

FIRST INSTALL:
==============
[root@localhost ~]# yum install Percona-Server-server-56
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.met.hu
 * extras: mirror.met.hu
 * updates: mirror.met.hu
percona-release-noarch | 2.5 kB 00:00
percona-release-noarch/primary_db | 19 kB 00:00
percona-release-x86_64 | 2.5 kB 00:00
percona-release-x86_64/primary_db | 518 kB 00:01
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
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================================================================================
 Package Arch Version Repository Size
=======================================================================================================================================================================================================================================
Installing:
 Percona-Server-server-56 x86_64 5.6.32-rel78.0.el6 percona-release-x86_64 20 M
Installing for dependencies:
 Percona-Server-client-56 x86_64 5.6.32-rel78.0.el6 percona-release-x86_64 6.4 M
 Percona-Server-shared-56 x86_64 5.6.32-rel78.0.el6 percona-release-x86_64 695 k

Transaction Summary
=======================================================================================================================================================================================================================================
Install 3 Package(s)

Total download size: 27 M

UPGRADE:
========
[root@localhost ~]# yum update Percona-Server-server-56
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirror.met.hu
 * extras: mirror.met.hu
 * updates: mirror.met.hu
percona-testing-noarch | 2.9 kB 00:00
percona-testing-noarch/primary_db | 8.0 kB 00:00
percona-testing-x86_64 | 2.5 kB 00:00
percona-testing-x86_64/primary_db | 174 kB 00:00
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package Percona-Server-server-56.x86_64 0:5.6.32-rel78.0.el6 will be updated
---> Package Percona-Server-server-56.x86_64 0:5.6.32-rel78.1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================================================================================
 Package Arch Version Repository Size
=======================================================================================================================================================================================================================================
Updating:
 Percona-Server-server-56 x86_64 5.6.32-rel78.1.el6 percona-testing-x86_64 20 M

Transaction Summary
=======================================================================================================================================================================================================================================
Upgrade 1 Package(s)

Total download size: 20 M

END RESULT:
===========
[root@localhost ~]# yum list installed "Percona-*"
Installed Packages
Percona-Server-client-56.x86_64 5.6.32-rel78.0.el6 @percona-release-x86_64
Percona-Server-server-56.x86_64 5.6.32-rel78.1.el6 @percona-testing-x86_64
Percona-Server-shared-56.x86_64 5.6.32-rel78.0.el6 @percona-release-x86_64

Tags: 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/PS-3564

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.