Comment 3 for bug 1497893

Revision history for this message
Tomislav Plavcic (tplavcic) wrote :

@John: for that we will leave the system mysql-libs installed.
Decided in the end we'll not remove the PS 5.1 but just make a small change to that Percona-Server-shared-51 to not obsolete mysql-libs but just make a conflict so that they cannot be installed at the same time.
That package was automatically installing because of that Obsolete clause.
I have pushed that package in our testing repository (centos 6 only) and if there will be no problems will push it into release repo early next week.

Some checking:
#1: yum upgrade with just testing repo enabled
It doesn't offer to replace mysql-libs with 5.1 shared package any more.

[vagrant@t-centos6-64 ~]$ sudo yum upgrade
Loaded plugins: fastestmirror, security
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
 * base: mirror.met.hu
 * extras: mirror.met.hu
 * updates: mirror.met.hu
No Packages marked for Update

[vagrant@t-centos6-64 ~]$ sudo yum list installed|grep mysql
mysql-libs.x86_64 5.1.73-5.el6_6 @base

[vagrant@t-centos6-64 ~]$ ls /etc/my.cnf
/etc/my.cnf

#2: install Percona-Server-server-56 and try upgrade after

[vagrant@t-centos6-64 ~]$ sudo yum install Percona-Server-server-56
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.met.hu
 * extras: mirror.met.hu
 * updates: mirror.met.hu
Resolving Dependencies
--> Running transaction check
---> Package Percona-Server-server-56.x86_64 0:5.6.26-rel74.0.el6 will be installed
--> Processing Dependency: Percona-Server-client-56 for package: Percona-Server-server-56-5.6.26-rel74.0.el6.x86_64
--> Processing Dependency: Percona-Server-shared-56 for package: Percona-Server-server-56-5.6.26-rel74.0.el6.x86_64
--> Running transaction check
---> Package Percona-Server-client-56.x86_64 0:5.6.26-rel74.0.el6 will be installed
---> Package Percona-Server-shared-56.x86_64 0:5.6.26-rel74.0.el6 will be installed
--> Finished Dependency Resolution

[vagrant@t-centos6-64 ~]$ sudo yum list installed|egrep "mysql|Percona"
Percona-Server-client-56.x86_64 5.6.26-rel74.0.el6 @percona-testing-x86_64
Percona-Server-server-56.x86_64 5.6.26-rel74.0.el6 @percona-testing-x86_64
Percona-Server-shared-56.x86_64 5.6.26-rel74.0.el6 @percona-testing-x86_64
mysql-libs.x86_64 5.1.73-5.el6_6 @base

[vagrant@t-centos6-64 ~]$ ls /etc/my.cnf
/etc/my.cnf

[vagrant@t-centos6-64 ~]$ sudo yum upgrade
Loaded plugins: fastestmirror, security
Setting up Upgrade Process
Loading mirror speeds from cached hostfile
 * base: ftp.freepark.org
 * extras: ftp.freepark.org
 * updates: ftp.freepark.org
No Packages marked for Update