Bug 1199797

Summary: Can't install akonadi-mysql and community-mysql-server
Product: [Fedora] Fedora Reporter: Terje Røsten <terje.rosten>
Component: akonadiAssignee: Daniel Vrátil <dvratil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dvratil, jeischma, jreznik, kevin, ltinkl, rdieter, siddharth.kde, smparrish, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: akonadi-1.13.0-12.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-29 04:25:11 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 Terje Røsten 2015-03-08 13:04:58 UTC
Description of problem:

Starting in Fedora 22, installing akonadi-mysql and community-mysql-server don't any  longer work:

yum install community-mysql-server akonadi-mysql
Loaded plugins: etckeeper, langpacks
Resolving Dependencies
--> Running transaction check
---> Package akonadi-mysql.x86_64 0:1.13.0-9.fc22 will be installed
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.13.0-9.fc22.x86_64
---> Package community-mysql-server.x86_64 0:5.6.23-1.fc22 will be installed
--> Processing Dependency: community-mysql-errmsg(x86-64) = 5.6.23-1.fc22 for package: community-mysql-server-5.6.23-1.fc22.x86_64
--> Running transaction check
---> Package community-mysql-errmsg.x86_64 0:5.6.23-1.fc22 will be installed
---> Package mariadb-server.x86_64 1:10.0.16-4.fc22 will be installed
--> Processing Conflict: 1:mariadb-server-10.0.16-4.fc22.x86_64 conflicts community-mysql-server
--> Processing Conflict: community-mysql-server-5.6.23-1.fc22.x86_64 conflicts mariadb-server
--> Finished Dependency Resolution
Error: mariadb-server conflicts with community-mysql-server-5.6.23-1.fc22.x86_64
Error: community-mysql-server conflicts with 1:mariadb-server-10.0.16-4.fc22.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Version-Release number of selected component (if applicable):

akonadi-mysql-1.13.0-9.fc22.x86_64

How reproducible:

install akonadi-mysql and community-mysql-server in Fedora 22.

yum install akonadi-mysql community-mysql-server

This worked in Fedora 21, reason seems to hard coded dep on mariadb-server,
instead of the generic dep on mysql-server or mysql-compat-server (RHEL),
which enables users to switch between mysql server package of choice.

Comment 1 Rex Dieter 2015-03-08 13:33:34 UTC
As it is, we strongly recommend and support mariadb, and some users got the wrong provider if we didn't explictly Require mariadb.

When rpm (and dnf) grows full soft dependency support (hopefully coming within a release or 2, f23/f24), we could consider putting it back the way it was.

Comment 2 Terje Røsten 2015-03-08 14:11:36 UTC
Soft dependency support is the superior solution. 

Might I ask to keep current Fedora 21 behavior until soft dependency support 
is in place?

Comment 3 Rex Dieter 2015-03-09 15:14:04 UTC
we can try at least.

Comment 4 Fedora Update System 2015-03-09 15:16:46 UTC
akonadi-1.13.0-12.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/akonadi-1.13.0-12.fc22

Comment 5 Terje Røsten 2015-03-09 20:11:28 UTC
Very nice, thanks!

Comment 6 Fedora Update System 2015-03-13 17:28:54 UTC
Package akonadi-1.13.0-12.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing akonadi-1.13.0-12.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-3819/akonadi-1.13.0-12.fc22
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-03-29 04:25:11 UTC
akonadi-1.13.0-12.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-04-12 10:15:49 UTC
akonadi-1.13.0-12.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/akonadi-1.13.0-12.fc21

Comment 9 Fedora Update System 2015-04-12 10:17:40 UTC
akonadi-1.13.0-12.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/akonadi-1.13.0-12.fc20

Comment 10 Fedora Update System 2015-04-21 18:36:43 UTC
akonadi-1.13.0-12.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-04-21 19:07:58 UTC
akonadi-1.13.0-12.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.