On a brand new CentOS 7 box I tried to install Zabbix based on their instructions. I ran into issues with the MySQL setup because it seems to think that it wasn't installed. I figured that I would just Yum Install it but below is the output I am getting
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: centos.mirror.ndchost.com
* updates: sjc.edge.kernel.org
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.56-2.el7 will be obsoleted
--> Processing Dependency: mariadb(x86-64) = 1:5.5.56-2.el7 for package: 1:mariadb-server-5.5.56-2.el7.x86_64
---> Package mysql-community-client.x86_64 0:5.6.40-2.el7 will be obsoleting
--> Processing Dependency: mysql-community-libs(x86-64) >= 5.6.10 for package: mysql-community-client-5.6.40-2.el7.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be obsoleted
---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be obsoleted
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64
---> Package mysql-community-libs.x86_64 0:5.6.40-2.el7 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) >= 5.6.10 for package: mysql-community-libs-5.6.40-2.el7.x86_64
---> Package mysql-community-server.x86_64 0:5.6.40-2.el7 will be obsoleting
--> Running transaction check
---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be obsoleted
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64
---> Package mysql-community-common.x86_64 0:5.6.40-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda)
Requires: mariadb-server
Removing: 1:mariadb-server-5.5.56-2.el7.x86_64 (@anaconda)
mariadb-server = 1:5.5.56-2.el7
Obsoleted By: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Now I have tried both of the commands it suggests as well as trying to do the install with the mariadb-server and such. All return the same and mysql will not install. I am not well versed with Linux so I am unsure how to interpret the results to figure out what is going on. To me it looks like the SQL requires Akonadi which in turn required mariadb server however the mariadb server won't install because the SQL is making it obsolete. This system was setup just for Zabbix and was installed directly from disk so I am unsure what is causing the issue or if there was some command or requirement I had missed that needed to run before starting the Zabbix install.
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: centos.mirror.ndchost.com
* updates: sjc.edge.kernel.org
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.56-2.el7 will be obsoleted
--> Processing Dependency: mariadb(x86-64) = 1:5.5.56-2.el7 for package: 1:mariadb-server-5.5.56-2.el7.x86_64
---> Package mysql-community-client.x86_64 0:5.6.40-2.el7 will be obsoleting
--> Processing Dependency: mysql-community-libs(x86-64) >= 5.6.10 for package: mysql-community-client-5.6.40-2.el7.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be obsoleted
---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be obsoleted
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64
---> Package mysql-community-libs.x86_64 0:5.6.40-2.el7 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) >= 5.6.10 for package: mysql-community-libs-5.6.40-2.el7.x86_64
---> Package mysql-community-server.x86_64 0:5.6.40-2.el7 will be obsoleting
--> Running transaction check
---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be obsoleted
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64
---> Package mysql-community-common.x86_64 0:5.6.40-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda)
Requires: mariadb-server
Removing: 1:mariadb-server-5.5.56-2.el7.x86_64 (@anaconda)
mariadb-server = 1:5.5.56-2.el7
Obsoleted By: mysql-community-server-5.6.40-2.el7.x86_64 (mysql56-community)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Now I have tried both of the commands it suggests as well as trying to do the install with the mariadb-server and such. All return the same and mysql will not install. I am not well versed with Linux so I am unsure how to interpret the results to figure out what is going on. To me it looks like the SQL requires Akonadi which in turn required mariadb server however the mariadb server won't install because the SQL is making it obsolete. This system was setup just for Zabbix and was installed directly from disk so I am unsure what is causing the issue or if there was some command or requirement I had missed that needed to run before starting the Zabbix install.