Bug #73194 5.5 package failed to install after installing mysql-bench from native repo
Submitted: 4 Jul 2014 6:36 Modified: 29 Jul 2014 21:26
Reporter: Ramana Yeruva Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Package Repos and Docker Images Severity:S3 (Non-critical)
Version:5.5.39 OS:Any
Assigned to: CPU Architecture:Any

[4 Jul 2014 6:36] Ramana Yeruva
Description:
yum clean all
yum remove 'mysql*'
rm -rf /var/lib/mysql
yum -y install mysql-bench.x86_64
yum -y install mysql-community-release-el6-11.noarch.rpm
um-complete-transaction --cleanup-only
yum clean all
yum -y --enablerepo=mysql55-community clean metadata
yum -y --enablerepo=mysql56-community clean metadata
yum -y --enablerepo=mysql57-community-dmr clean metadata
yum -y --enablerepo=mysql55-community list "mysql-community*"
yum -y --enablerepo=mysql56-community list "mysql-community*"
yum -y --enablerepo=mysql57-community-dmr list "mysql-community*"
execute yum update or install 5.5.39 packages alone with below command
yum -y --enablerepo=mysql55-community install mysql-community-client.x86_64 mysql-community-libs.x86_64 mysql-community-server.x86_64 mysql-community-devel.x86_64 mysql-community-embedded.x86_64 mysql-community-test.x86_64

How to repeat:
[root@viking50 repo]# yum -y install mysql-bench.x86_64
Loaded plugins: security
Repository epel is listed more than once in the configuration
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-bench.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-bench-5.1.73-3.el6_5.x86_64
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql-libs = 5.1.73-3.el6_5 for package: mysql-5.1.73-3.el6_5.x86_64
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: mysql-5.1.73-3.el6_5.x86_64
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: mysql-5.1.73-3.el6_5.x86_64
--> Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: mysql-5.1.73-3.el6_5.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: mysql-5.1.73-3.el6_5.x86_64
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.1.73-3.el6_5 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================
 Package                                  Arch                                Version                                       Repository                               Size
==========================================================================================================================================================================
Installing:
 mysql-bench                              x86_64                              5.1.73-3.el6_5                                ol6_latest                              428 k
Installing for dependencies:
 mysql                                    x86_64                              5.1.73-3.el6_5                                ol6_latest                              893 k
 mysql-libs                               x86_64                              5.1.73-3.el6_5                                ol6_latest                              1.2 M

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

Total download size: 2.5 M
Installed size: 9.0 M
Downloading Packages:
(1/3): mysql-5.1.73-3.el6_5.x86_64.rpm                                                                                                             | 893 kB     00:00     
(2/3): mysql-bench-5.1.73-3.el6_5.x86_64.rpm                                                                                                       | 428 kB     00:00     
(3/3): mysql-libs-5.1.73-3.el6_5.x86_64.rpm                                                                                                        | 1.2 MB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                      54 MB/s | 2.5 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mysql-libs-5.1.73-3.el6_5.x86_64                                                                                                                       1/3 
  Installing : mysql-5.1.73-3.el6_5.x86_64                                                                                                                            2/3 
  Installing : mysql-bench-5.1.73-3.el6_5.x86_64                                                                                                                      3/3 
  Verifying  : mysql-libs-5.1.73-3.el6_5.x86_64                                                                                                                       1/3 
  Verifying  : mysql-5.1.73-3.el6_5.x86_64                                                                                                                            2/3 
  Verifying  : mysql-bench-5.1.73-3.el6_5.x86_64                                                                                                                      3/3 

Installed:
  mysql-bench.x86_64 0:5.1.73-3.el6_5                                                                                                                                     

Dependency Installed:
  mysql.x86_64 0:5.1.73-3.el6_5                                                     mysql-libs.x86_64 0:5.1.73-3.el6_5                                                    

Complete!
[root@viking50 repo]# yum -y install mysql-community-release-el6-11.noarch.rpm
Loaded plugins: security
Repository epel is listed more than once in the configuration
Setting up Install Process
Examining mysql-community-release-el6-11.noarch.rpm: mysql-community-release-el6-11.noarch
Marking mysql-community-release-el6-11.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-release.noarch 0:el6-11 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================
 Package                                      Arch                        Version                       Repository                                                   Size
==========================================================================================================================================================================
Installing:
 mysql-community-release                      noarch                      el6-11                        /mysql-community-release-el6-11.noarch                      4.6 k

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

Total size: 4.6 k
Installed size: 4.6 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mysql-community-release-el6-11.noarch                                                                                                                  1/1 
  Verifying  : mysql-community-release-el6-11.noarch                                                                                                                  1/1 

Installed:
  mysql-community-release.noarch 0:el6-11                                                                                                                                 

Complete!

yum -y --enablerepo=mysql55-community clean metadata
yum -y --enablerepo=mysql56-community clean metadata
yum -y --enablerepo=mysql57-community-dmr clean metadata
yum -y --enablerepo=mysql55-community list "mysql-community*"
yum -y --enablerepo=mysql56-community list "mysql-community*"
yum -y --enablerepo=mysql57-community-dmr list "mysql-community*"

[root@viking50 repo]# yum -y --enablerepo=mysql55-community install mysql-community-client.x86_64 mysql-community-libs.x86_64 mysql-community-server.x86_64 mysql-community-devel.x86_64 mysql-community-embedded.x86_64 mysql-community-test.x86_64
Loaded plugins: security
Repository epel is listed more than once in the configuration
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be obsoleted
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-bench-5.1.73-3.el6_5.x86_64
---> Package mysql-community-client.x86_64 0:5.5.39-3.el6 will be obsoleting
---> Package mysql-community-devel.x86_64 0:5.5.39-3.el6 will be installed
---> Package mysql-community-embedded.x86_64 0:5.5.39-3.el6 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 5.5.39-3.el6 for package: mysql-community-embedded-5.5.39-3.el6.x86_64
---> Package mysql-community-libs.x86_64 0:5.5.39-3.el6 will be obsoleting
---> Package mysql-community-server.x86_64 0:5.5.39-3.el6 will be installed
---> Package mysql-community-test.x86_64 0:5.5.39-3.el6 will be installed
---> Package mysql-libs.x86_64 0:5.1.73-3.el6_5 will be obsoleted
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be obsoleted
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-bench-5.1.73-3.el6_5.x86_64
---> Package mysql-community-common.x86_64 0:5.5.39-3.el6 will be installed
--> Finished Dependency Resolution
Error: Package: mysql-bench-5.1.73-3.el6_5.x86_64 (@ol6_latest)
           Requires: mysql = 5.1.73-3.el6_5
           Removing: mysql-5.1.73-3.el6_5.x86_64 (@ol6_latest)
               mysql = 5.1.73-3.el6_5
           Obsoleted By: mysql-community-client-5.5.39-3.el6.x86_64 (mysql55-community)
               mysql = 5.5.39-3.el6
           Available: mysql-community-client-5.5.35-1.el6.x86_64 (mysql55-community)
               mysql = 5.5.35-1.el6
           Available: mysql-community-client-5.5.36-1.el6.x86_64 (mysql55-community)
               mysql = 5.5.36-1.el6
           Available: mysql-community-client-5.5.36-2.el6.x86_64 (mysql55-community)
               mysql = 5.5.36-2.el6
           Available: mysql-community-client-5.5.37-4.el6.x86_64 (mysql55-community)
               mysql = 5.5.37-4.el6
           Available: mysql-community-client-5.5.38-2.el6.x86_64 (mysql55-community)
               mysql = 5.5.38-2.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Suggested fix:
conflicts should not happen and community packages from respective should be success
https://clustra.no.oracle.com/~sysqa/MySQL_Testing_Accessible/DistrosRepository/Reports/EL...
[7 Jul 2014 9:39] Ramana Yeruva
Posted by developer:
 
***********Noticed above issue not appearing with 5.6.20 packages**************

[root@loki22 repository_code]# yum -y install mysql-bench.x86_64
Loaded plugins: downloadonly, security
Repository epel is listed more than once in the configuration
epel                                                                                                                                               | 4.4 kB     00:00     
epel/primary_db                                                                                                                                    | 6.2 MB     00:00     
errata                                                                                                                                             | 2.3 kB     00:00     
errata/primary_db                                                                                                                                  |  37 kB     00:00     
mysql-55-uln                                                                                                                                       | 2.3 kB     00:00     
mysql-55-uln/primary_db                                                                                                                            |  13 kB     00:00     
ol6_latest                                                                                                                                         | 1.1 kB     00:00     
ol6_latest/primary                                                                                                                                 |  35 MB     00:00     
ol6_latest                                                                                                                                                    20439/20439
os                                                                                                                                                 | 3.7 kB     00:00     
os/primary_db                                                                                                                                      | 3.2 MB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-bench.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-bench-5.1.73-3.el6_5.x86_64
--> Running transaction check
---> Package mysql.x86_64 0:5.5.33-1.el6 will be installed
--> Processing Dependency: mysql-libs = 5.5.33-1.el6 for package: mysql-5.5.33-1.el6.x86_64
--> Running transaction check
---> Package mysql-libs.x86_64 0:5.5.33-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================
 Package                                  Arch                                Version                                     Repository                                 Size
==========================================================================================================================================================================
Installing:
 mysql-bench                              x86_64                              5.1.73-3.el6_5                              ol6_latest                                428 k
Installing for dependencies:
 mysql                                    x86_64                              5.5.33-1.el6                                mysql-55-uln                               15 M
 mysql-libs                               x86_64                              5.5.33-1.el6                                mysql-55-uln                              1.8 M

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

Total download size: 17 M
Installed size: 80 M
Downloading Packages:
(1/3): mysql-5.5.33-1.el6.x86_64.rpm                                                                                                               |  15 MB     00:00     
(2/3): mysql-bench-5.1.73-3.el6_5.x86_64.rpm                                                                                                       | 428 kB     00:00     
(3/3): mysql-libs-5.5.33-1.el6.x86_64.rpm                                                                                                          | 1.8 MB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                      60 MB/s |  17 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mysql-libs-5.5.33-1.el6.x86_64                                                                                                                         1/3 
  Installing : mysql-5.5.33-1.el6.x86_64                                                                                                                              2/3 
  Installing : mysql-bench-5.1.73-3.el6_5.x86_64                                                                                                                      3/3 
  Verifying  : mysql-bench-5.1.73-3.el6_5.x86_64                                                                                                                      1/3 
  Verifying  : mysql-libs-5.5.33-1.el6.x86_64                                                                                                                         2/3 
  Verifying  : mysql-5.5.33-1.el6.x86_64                                                                                                                              3/3 

Installed:
  mysql-bench.x86_64 0:5.1.73-3.el6_5                                                                                                                                     

Dependency Installed:
  mysql.x86_64 0:5.5.33-1.el6                                                       mysql-libs.x86_64 0:5.5.33-1.el6                                                      

Complete!
[root@loki22 repository_code]# yum install mysql-community-release-el6-11.noarch.rpm 
Loaded plugins: downloadonly, security
Repository epel is listed more than once in the configuration
Setting up Install Process
Examining mysql-community-release-el6-11.noarch.rpm: mysql-community-release-el6-11.noarch
Marking mysql-community-release-el6-11.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-release.noarch 0:el6-11 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================
 Package                                      Arch                        Version                       Repository                                                   Size
==========================================================================================================================================================================
Installing:
 mysql-community-release                      noarch                      el6-11                        /mysql-community-release-el6-11.noarch                      4.6 k

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

Total size: 4.6 k
Installed size: 4.6 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mysql-community-release-el6-11.noarch                                                                                                                  1/1 
  Verifying  : mysql-community-release-el6-11.noarch                                                                                                                  1/1 

Installed:
  mysql-community-release.noarch 0:el6-11                                                                                                                                 

Complete!
[root@loki22 repository_code]# vi clean.sh 
[root@loki22 repository_code]# yum --enablerepo=mysql56-community clean metadata
Loaded plugins: downloadonly, security
Repository epel is listed more than once in the configuration
Cleaning repos: mysql56-community
2 metadata files removed
1 sqlite files removed
0 metadata files removed
[root@loki22 repository_code]# yum --enablerepo=mysql56-community clean metadata
Loaded plugins: downloadonly, security
Repository epel is listed more than once in the configuration
Cleaning repos: mysql56-community
0 metadata files removed
0 sqlite files removed
0 metadata files removed
[root@loki22 repository_code]# yum -y --enablerepo=mysql56-community install mysql-community-client.x86_64 mysql-community-libs.x86_64 mysql-community-server.x86_64 mysql-community-devel.x86_64 mysql-community-embedded.x86_64
Loaded plugins: downloadonly, security
Repository epel is listed more than once in the configuration
mysql56-community                                                                                                                                  | 2.5 kB     00:00     
mysql56-community/primary_db                                                                                                                       |  58 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.x86_64 0:5.5.33-1.el6 will be obsoleted
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-bench-5.1.73-3.el6_5.x86_64
---> Package mysql-community-client.x86_64 0:5.6.20-2.el6 will be obsoleting
---> Package mysql-community-devel.x86_64 0:5.6.20-2.el6 will be installed
---> Package mysql-community-embedded.x86_64 0:5.6.20-2.el6 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 5.6.20-2.el6 for package: mysql-community-embedded-5.6.20-2.el6.x86_64
---> Package mysql-community-libs.x86_64 0:5.6.20-2.el6 will be obsoleting
---> Package mysql-community-server.x86_64 0:5.6.20-2.el6 will be installed
---> Package mysql-libs.x86_64 0:5.5.33-1.el6 will be obsoleted
--> Running transaction check
---> Package mysql-bench.x86_64 0:5.1.73-3.el6_5 will be obsoleted
---> Package mysql-community-bench.x86_64 0:5.6.20-2.el6 will be obsoleting
---> Package mysql-community-common.x86_64 0:5.6.20-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================================================================================
 Package                                           Arch                            Version                               Repository                                  Size
==========================================================================================================================================================================
Installing:
 mysql-community-bench                             x86_64                          5.6.20-2.el6                          mysql56-community                          414 k
     replacing  mysql-bench.x86_64 5.1.73-3.el6_5
 mysql-community-client                            x86_64                          5.6.20-2.el6                          mysql56-community                           18 M
     replacing  mysql.x86_64 5.5.33-1.el6
 mysql-community-devel                             x86_64                          5.6.20-2.el6                          mysql56-community                          3.2 M
 mysql-community-embedded                          x86_64                          5.6.20-2.el6                          mysql56-community                           18 M
 mysql-community-libs                              x86_64                          5.6.20-2.el6                          mysql56-community                          1.9 M
     replacing  mysql-libs.x86_64 5.5.33-1.el6
 mysql-community-server                            x86_64                          5.6.20-2.el6                          mysql56-community                           52 M
Installing for dependencies:
 mysql-community-common                            x86_64                          5.6.20-2.el6                          mysql56-community                          299 k

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

Total download size: 94 M
Downloading Packages:
(1/7): mysql-community-bench-5.6.20-2.el6.x86_64.rpm                                                                                               | 414 kB     00:00     
(2/7): mysql-community-client-5.6.20-2.el6.x86_64.rpm                                                                                              |  18 MB     00:00     
(3/7): mysql-community-common-5.6.20-2.el6.x86_64.rpm                                                                                              | 299 kB     00:00     
(4/7): mysql-community-devel-5.6.20-2.el6.x86_64.rpm                                                                                               | 3.2 MB     00:00     
(5/7): mysql-community-embedded-5.6.20-2.el6.x86_64.rpm                                                                                            |  18 MB     00:00     
(6/7): mysql-community-libs-5.6.20-2.el6.x86_64.rpm                                                                                                | 1.9 MB     00:00     
(7/7): mysql-community-server-5.6.20-2.el6.x86_64.rpm                                                                                              |  52 MB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                      73 MB/s |  94 MB     00:01     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mysql-community-common-5.6.20-2.el6.x86_64                                                                                                            1/10 
  Installing : mysql-community-libs-5.6.20-2.el6.x86_64                                                                                                              2/10 
  Installing : mysql-community-client-5.6.20-2.el6.x86_64                                                                                                            3/10 
  Installing : mysql-community-server-5.6.20-2.el6.x86_64                                                                                                            4/10 
  Installing : mysql-community-bench-5.6.20-2.el6.x86_64                                                                                                             5/10 
  Installing : mysql-community-devel-5.6.20-2.el6.x86_64                                                                                                             6/10 
  Installing : mysql-community-embedded-5.6.20-2.el6.x86_64                                                                                                          7/10 
  Erasing    : mysql-bench-5.1.73-3.el6_5.x86_64                                                                                                                     8/10 
  Erasing    : mysql-5.5.33-1.el6.x86_64                                                                                                                             9/10 
  Erasing    : mysql-libs-5.5.33-1.el6.x86_64                                                                                                                       10/10 
  Verifying  : mysql-community-devel-5.6.20-2.el6.x86_64                                                                                                             1/10 
  Verifying  : mysql-community-libs-5.6.20-2.el6.x86_64                                                                                                              2/10 
  Verifying  : mysql-community-client-5.6.20-2.el6.x86_64                                                                                                            3/10 
  Verifying  : mysql-community-bench-5.6.20-2.el6.x86_64                                                                                                             4/10 
  Verifying  : mysql-community-server-5.6.20-2.el6.x86_64                                                                                                            5/10 
  Verifying  : mysql-community-embedded-5.6.20-2.el6.x86_64                                                                                                          6/10 
  Verifying  : mysql-community-common-5.6.20-2.el6.x86_64                                                                                                            7/10 
  Verifying  : mysql-bench-5.1.73-3.el6_5.x86_64                                                                                                                     8/10 
  Verifying  : mysql-libs-5.5.33-1.el6.x86_64                                                                                                                        9/10 
  Verifying  : mysql-5.5.33-1.el6.x86_64                                                                                                                            10/10 

Installed:
  mysql-community-bench.x86_64 0:5.6.20-2.el6              mysql-community-client.x86_64 0:5.6.20-2.el6           mysql-community-devel.x86_64 0:5.6.20-2.el6           
  mysql-community-embedded.x86_64 0:5.6.20-2.el6           mysql-community-libs.x86_64 0:5.6.20-2.el6             mysql-community-server.x86_64 0:5.6.20-2.el6          

Dependency Installed:
  mysql-community-common.x86_64 0:5.6.20-2.el6                                                                                                                            

Replaced:
  mysql.x86_64 0:5.5.33-1.el6                         mysql-bench.x86_64 0:5.1.73-3.el6_5                         mysql-libs.x86_64 0:5.5.33-1.el6                        

Complete!
[29 Jul 2014 21:26] Daniel So
A fix of the issue has been included into the upcoming release of the MySQL Yum Repository package for EL6 platforms for MySQL 5.5.39.
[26 Aug 2014 19:44] Daniel So
Posted by developer:
 
No documentation needed. Closing the ticket with no further actions.