Bug #78815 *devel* packages install fails if mysql-connector-c-devel-6.1.6 is installed

Submitted: 13 Oct 2015 7:10 Modified: 5 Nov 2015 15:15
Reporter: Ramana Yeruva Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.7.9 OS:Any
Assigned to: CPU Architecture:Any

[13 Oct 2015 7:10] Ramana Yeruva
Description:
while verifying http://clustra.no.oracle.com/orabugs/bug.php?id=21900800 fix with 5.7.9-new builds received for SysQA testing, found that mysql-community-embedded-devel and mysql-community-devel install is failing with conflicts

How to repeat:
download mysql-connector-c-devel-6.1.6-1.el7.x86_64.rpm and mysql-connector-c-shared-6.1.6-1.el7.x86_64.rpm from http://dev.mysql.com/downloads/connector/c/
clean environment
install these packages with rpm -ivh
install mysql-community-release-el7-11.noarch.rpm and enable mysql57-community-dmr
update yum repo,observe mysql-connector-c-shared.x86_64 replaced by mysql-community-libs which is expected.
now install mysql-community-embedded-devel or mysql-community-devel observe conficlicts

Suggested fix:
Obsoletes mysql-connector-c-devel < 6.2
[13 Oct 2015 7:11] Ramana Yeruva
Posted by developer:
 
[lroot@vitro77 ramana]# yum update
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-libs.x86_64 0:5.7.9-1.el7 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) = 5.7.9-1.el7 for package: mysql-community-libs-5.7.9-1.el7.x86_64
---> Package mysql-connector-c-shared.x86_64 0:6.1.6-1.el7 will be obsoleted
--> Running transaction check
---> Package mysql-community-common.x86_64 0:5.7.9-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================
 Package                                           Arch                              Version                                Repository                                        Size
===================================================================================================================================================================================
Installing:
 mysql-community-libs                              x86_64                            5.7.9-1.el7                            mysql57-community-dmr                            2.2 M
     replacing  mysql-connector-c-shared.x86_64 6.1.6-1.el7
Installing for dependencies:
 mysql-community-common                            x86_64                            5.7.9-1.el7                            mysql57-community-dmr                            269 k

Transaction Summary
===================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 2.5 M
Is this ok [y/d/N]: n
Exiting on user command
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2015-10-13.08-50.clBdYC.yumtx
[lroot@vitro77 ramana]# yum install mysql-community-embedded-devel
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-embedded-devel.x86_64 0:5.7.9-1.el7 will be installed
--> Processing Dependency: mysql-community-embedded(x86-64) = 5.7.9-1.el7 for package: mysql-community-embedded-devel-5.7.9-1.el7.x86_64
--> Processing Dependency: mysql-community-devel(x86-64) = 5.7.9-1.el7 for package: mysql-community-embedded-devel-5.7.9-1.el7.x86_64
--> Processing Dependency: libmysqld.so.20()(64bit) for package: mysql-community-embedded-devel-5.7.9-1.el7.x86_64
--> Running transaction check
---> Package mysql-community-devel.x86_64 0:5.7.9-1.el7 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) = 5.7.9-1.el7 for package: mysql-community-devel-5.7.9-1.el7.x86_64
--> Processing Dependency: libmysqlclient.so.20()(64bit) for package: mysql-community-devel-5.7.9-1.el7.x86_64
---> Package mysql-community-embedded.x86_64 0:5.7.9-1.el7 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 5.7.9-1.el7 for package: mysql-community-embedded-5.7.9-1.el7.x86_64
--> Running transaction check
---> Package mysql-community-common.x86_64 0:5.7.9-1.el7 will be installed
---> Package mysql-community-libs.x86_64 0:5.7.9-1.el7 will be obsoleting
---> Package mysql-connector-c-shared.x86_64 0:6.1.6-1.el7 will be obsoleted
--> Processing Conflict: mysql-connector-c-devel-6.1.6-1.el7.x86_64 conflicts mysql-devel
--> Processing Conflict: mysql-connector-c-devel-6.1.6-1.el7.x86_64 conflicts mysql-embedded-devel
--> Finished Dependency Resolution
Error: mysql-connector-c-devel conflicts with mysql-community-devel-5.7.9-1.el7.x86_64
Error: mysql-connector-c-devel conflicts with mysql-community-embedded-devel-5.7.9-1.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[lroot@vitro77 ramana]# yum update
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-libs.x86_64 0:5.7.9-1.el7 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) = 5.7.9-1.el7 for package: mysql-community-libs-5.7.9-1.el7.x86_64
---> Package mysql-connector-c-shared.x86_64 0:6.1.6-1.el7 will be obsoleted
--> Running transaction check
---> Package mysql-community-common.x86_64 0:5.7.9-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================
 Package                                           Arch                              Version                                Repository                                        Size
===================================================================================================================================================================================
Installing:
 mysql-community-libs                              x86_64                            5.7.9-1.el7                            mysql57-community-dmr                            2.2 M
     replacing  mysql-connector-c-shared.x86_64 6.1.6-1.el7
Installing for dependencies:
 mysql-community-common                            x86_64                            5.7.9-1.el7                            mysql57-community-dmr                            269 k

Transaction Summary
===================================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 2.5 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): mysql-community-common-5.7.9-1.el7.x86_64.rpm                                                                                                        | 269 kB  00:00:00     
(2/2): mysql-community-libs-5.7.9-1.el7.x86_64.rpm                                                                                                          | 2.2 MB  00:00:00     
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                              7.8 MB/s | 2.5 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mysql-community-common-5.7.9-1.el7.x86_64                                                                                                                       1/3 
  Installing : mysql-community-libs-5.7.9-1.el7.x86_64                                                                                                                         2/3 
  Erasing    : mysql-connector-c-shared-6.1.6-1.el7.x86_64                                                                                                                     3/3 
  Verifying  : mysql-community-libs-5.7.9-1.el7.x86_64                                                                                                                         1/3 
  Verifying  : mysql-community-common-5.7.9-1.el7.x86_64                                                                                                                       2/3 
  Verifying  : mysql-connector-c-shared-6.1.6-1.el7.x86_64                                                                                                                     3/3 

Installed:
  mysql-community-libs.x86_64 0:5.7.9-1.el7                                                                                                                                        

Dependency Installed:
  mysql-community-common.x86_64 0:5.7.9-1.el7                                                                                                                                      

Replaced:
  mysql-connector-c-shared.x86_64 0:6.1.6-1.el7                                                                                                                                    

Complete!
[lroot@vitro77 ramana]# yum install mysql-community-embedded-devel
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-embedded-devel.x86_64 0:5.7.9-1.el7 will be installed
--> Processing Dependency: mysql-community-embedded(x86-64) = 5.7.9-1.el7 for package: mysql-community-embedded-devel-5.7.9-1.el7.x86_64
--> Processing Dependency: mysql-community-devel(x86-64) = 5.7.9-1.el7 for package: mysql-community-embedded-devel-5.7.9-1.el7.x86_64
--> Processing Dependency: libmysqld.so.20()(64bit) for package: mysql-community-embedded-devel-5.7.9-1.el7.x86_64
--> Running transaction check
---> Package mysql-community-devel.x86_64 0:5.7.9-1.el7 will be installed
---> Package mysql-community-embedded.x86_64 0:5.7.9-1.el7 will be installed
--> Processing Conflict: mysql-connector-c-devel-6.1.6-1.el7.x86_64 conflicts mysql-devel
--> Processing Conflict: mysql-connector-c-devel-6.1.6-1.el7.x86_64 conflicts mysql-embedded-devel
--> Finished Dependency Resolution
Error: mysql-connector-c-devel conflicts with mysql-community-devel-5.7.9-1.el7.x86_64
Error: mysql-connector-c-devel conflicts with mysql-community-embedded-devel-5.7.9-1.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[lroot@vitro77 ramana]# yum install mysql-community-devel
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-devel.x86_64 0:5.7.9-1.el7 will be installed
--> Processing Conflict: mysql-connector-c-devel-6.1.6-1.el7.x86_64 conflicts mysql-devel
--> Finished Dependency Resolution
Error: mysql-connector-c-devel conflicts with mysql-community-devel-5.7.9-1.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[13 Oct 2015 7:12] Ramana Yeruva
Posted by developer:
 
detailed log can be accessed from http://clustra.no.oracle.com/~ryeruva/log.txt
[5 Nov 2015 15:15] Paul DuBois
Noted in 5.5.47, 5.6.28, 5.7.10, 5.8.0 changelogs.

MySQL development RPM packages could fail to install if MySQL
Connector/C development RPM packages were installed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.