Bug 1349199

Summary: file conflict when installing mysql server
Product: [Fedora] Fedora Reporter: Reader News <reader.news>
Component: community-mysqlAssignee: Jakub Dorňák <jdornak>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: hhorak, jdornak, jstanek, samuel.rakitnican, terje.rosten
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.7.15-1.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-23 03:23:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Reader News 2016-06-23 00:02:56 UTC
Description of problem:
In Fedora 24, when installing community-mysql-server package, it tries to bring in mariadb package along with 5 other packages.  But the transaction check failed with this error: "file /usr/bin/mysqlbinlog conflicts between attempted installs of community-mysql-server-5.7.11-2.fc24.x86_64 and mariadb-1:10.1.14-1.fc24.x86_64".

Version-Release number of selected component (if applicable):
community-mysql-server-5.7.11-2.fc24.x86_64

How reproducible:


Steps to Reproduce:
1. sudo dnf install community-mysql-server
2.
3.

Actual results:
Nothing is installed due to the conflict.

Expected results:
The installation should go through fine.

Additional info:

Comment 1 Terje Røsten 2016-06-23 21:19:40 UTC
MySQL 5.7.12 in testing has a fix for this:

 https://bodhi.fedoraproject.org/updates/FEDORA-2016-dfa325d31b

Would be nice if that update could be pushed to stable.

Comment 2 Terje Røsten 2016-06-23 21:26:27 UTC
You can test the MySQL 5.7.12 package by doing:

dnf --allowerasing --enablerepo=updates-testing install community-mysql-server

Comment 3 srakitnican 2016-08-13 19:44:18 UTC
It also breaks updates F23 -> F24 if both community-mysql-server and mariadb was installed. In community-mysql-server F23 package /usr/bin/mysqlbinlog was not present.

$ sudo dnf --disablerepo \* --enablerepo updates --releasever 23 repoquery -l community-mysql-server | grep mysqlbinlog
$ sudo dnf --disablerepo \* --enablerepo updates --releasever 24 repoquery -l community-mysql-server | grep mysqlbinlog
/usr/bin/mysqlbinlog

Comment 5 Reader News 2016-11-23 03:23:36 UTC
The problem no longer exist when upgrade to community-mysql-server-5.7.15-1.fc24.x86_64