View Issue Details

IDProjectCategoryView StatusLast Update
0007586CentOS-7mariadbpublic2014-09-11 14:55
Status closedResolutionno change required 
PlatformOSCentOSOS Version7
Product Version7.0-1406 
Target VersionFixed in Version 
Summary0007586: CentOS 7 cannot resolve mysql-server to mariadb
DescriptionI am not sure if this is a CentOS-Bug or more a problem of software packages. Anyway, I am trying to install several server software and many of them require some sort of MySQL-Server. Right now I am not able to install those packages because they depend on "mysql-server", which can not be done. I know that there is mariadb-server as a replacement, but shouldn't there be a symlink from mysql-server?

Example: kolab-server
[root@kolab ~]# yum install kolab
Loaded plugins: fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
 * base:
 * epel:
 * extras:
 * updates:
Resolving Dependencies
--> Finished Dependency Resolution
Error: Package: kolab-3.1.8-4.2.el7.kolab_3.3.noarch (Kolab_3.3)
           Requires: mysql-server
Steps To Reproduce- Install CentOS7 Base Server
- Install EPEL-Repo
- Try to install any package which needs mysql-server like Kolab-Repo
- Fails due to missing package requirements
TagsNo tags attached.




2014-09-11 14:45

developer   ~0020890

While you are right that no package from CentOS provides mysql-server, this is by design and not an error as CentOS comes with mariadb, which, not surprisingly, provides mariadb-server.

For any packages coming from outside the CentOS distribution ( such as those from EPEL ) which cannot be installed due to missing dependencies, please file bugs against those specific packages in the suport venue of the respective repository.

In the specific case of kolab.. where did you get it? It is not provided either by CentOS or by EPEL. Anyway, you should get in touch with the packagers and tell them that their package is defective, it should require mariadb-server or maybe mysql-compat-server.


2014-09-11 14:51

reporter   ~0020891

Thanks for your quick reply. The kolab-rpm does require mysql or mysql-server. I opened a bug report at kolab as well and found out, that this requirement was fulfilled by mariadb-galera-server.

This package was recently removed from the official repos, which led to some confusion.

Am I right that every package for CentOS 7 should replace MySQL-dependencies with mariadb-server or mysql-compat-server?


2014-09-11 14:55

developer   ~0020892

Yes, you are correct. The only valid dependencies are those against the packages ( or, more precisely, the "Provides" ) that exist in the distro.

Issue History

Date Modified Username Field Change
2014-09-11 13:24 magemo New Issue
2014-09-11 14:45 wolfy Note Added: 0020890
2014-09-11 14:51 magemo Note Added: 0020891
2014-09-11 14:55 wolfy Note Added: 0020892
2014-09-11 14:55 wolfy Status new => closed
2014-09-11 14:55 wolfy Resolution open => no change required