Bug #73073 update to community-server fails if mariadb-galera-server already installed
Submitted: 22 Jun 2014 0:40 Modified: 30 Jul 2014 14:45
Reporter: Ramana Yeruva Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Package Repos Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[22 Jun 2014 0:40] Ramana Yeruva
Description:
clean system
clean datadirectory(if exists)
install mariadb-galera-server.x86_64
install oracle repo file and update to 5.5/5.6 server

How to repeat:
yum remove 'mysql*'
yum remove 'maria*'
yum clean all
yum list 'maria*'
yum install mariadb-galera-server.x86_64
Installed:
  mariadb-galera-server.x86_64 1:5.5.37-2.el7                                                                                                                              

Dependency Installed:
  mariadb.x86_64 1:5.5.35-3.el7       mariadb-galera-common.x86_64 1:5.5.37-2.el7       mariadb-libs.x86_64 1:5.5.35-3.el7       perl-DBD-MySQL.x86_64 0:4.023-5.el7 

yum install mysql-community-release-el7-11.noarch.rpm
yum-complete-transaction --cleanup-only
yum clean all
yum clean all
yum --disablerepo=\* --enablerepo=mysql55-community clean metadata
yum --disablerepo=\* --enablerepo=mysql56-community clean metadata
yum --disablerepo=\* --enablerepo=mysql57-community-dmr clean metadata
yum --disablerepo=\* --enablerepo=mysql55-community list 'mysql-community*'
yum --disablerepo=\* --enablerepo=mysql56-community list 'mysql-community*'
yum --disablerepo=\* --enablerepo=mysql57-community-dmr list 'mysql-community*'

[lroot@viking87 repository_code]# yum --disablerepo=\* --enablerepo=mysql56-community update 'mysql-community*'
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.35-3.el7 will be obsoleted
---> Package mariadb-libs.x86_64 1:5.5.35-3.el7 will be obsoleted
---> Package mysql-community-client.x86_64 0:5.6.19-2.el7 will be obsoleting
---> Package mysql-community-libs.x86_64 0:5.6.19-2.el7 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) = 5.6.19-2.el7 for package: mysql-community-libs-5.6.19-2.el7.x86_64
--> Running transaction check
---> Package mysql-community-common.x86_64 0:5.6.19-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================
 Package                                         Arch                            Version                                  Repository                                  Size
===========================================================================================================================================================================
Installing:
 mysql-community-client                          x86_64                          5.6.19-2.el7                             mysql56-community                           19 M
     replacing  mariadb.x86_64 1:5.5.35-3.el7
 mysql-community-libs                            x86_64                          5.6.19-2.el7                             mysql56-community                          2.0 M
     replacing  mariadb-libs.x86_64 1:5.5.35-3.el7
Installing for dependencies:
 mysql-community-common                          x86_64                          5.6.19-2.el7                             mysql56-community                          247 k

Transaction Summary
===========================================================================================================================================================================
Install  2 Packages (+1 Dependent package)

Total size: 21 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test

Transaction check error:
  file /usr/share/man/man1/msql2mysql.1.gz from install of mysql-community-client-5.6.19-2.el7.x86_64 conflicts with file from package mariadb-galera-server-1:5.5.37-2.el7.x86_64
  file /usr/share/man/man1/mysqlbinlog.1.gz from install of mysql-community-client-5.6.19-2.el7.x86_64 conflicts with file from package mariadb-galera-server-1:5.5.37-2.el7.x86_64
  file /usr/share/man/man1/mysqlcheck.1.gz from install of mysql-community-client-5.6.19-2.el7.x86_64 conflicts with file from package mariadb-galera-server-1:5.5.37-2.el7.x86_64
  file /usr/share/man/man1/mysqlimport.1.gz from install of mysql-community-client-5.6.19-2.el7.x86_64 conflicts with file from package mariadb-galera-server-1:5.5.37-2.el7.x86_64

Error Summary
-------------

Suggested fix:
update should be successful
[25 Jun 2014 12:27] Balasubramanian Kandasamy
Posted by developer:
 
Pushed the fix, closing the bug.
[30 Jul 2014 14:45] Daniel So
A fix of the issue has been included in the upcoming releases of the MySQL
5.5.39 and 5.6.20 Yum Repository packages for EL7 platforms.