Bug 1349199 - file conflict when installing mysql server
Summary: file conflict when installing mysql server
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: community-mysql
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Dorňák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-23 00:02 UTC by Reader News
Modified: 2016-11-23 03:23 UTC (History)
5 users (show)

Fixed In Version: 5.7.15-1.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-23 03:23:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.