OSはCentOS 6です。
-----------------------
# yum -y install nagios-plugins-all
~~~
Package mysql-libs is obsoleted by MariaDB-shared, but obsoleting package does not provide for requirements
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: nagios-plugins-mysql-1.4.16-10.el6.x86_64
Package mysql-libs is obsoleted by MariaDB-shared, but obsoleting package does not provide for requirements
---> Package samba-winbind.x86_64 0:3.6.9-167.el6_5 will be installed
--> Finished Dependency Resolution
Error: Package: nagios-plugins-mysql-1.4.16-10.el6.x86_64 (epel)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.71-1.el6.x86_64 (base)
libmysqlclient.so.16(libmysqlclient_16)(64bit)
Error: Package: nagios-plugins-mysql-1.4.16-10.el6.x86_64 (epel)
Requires: libmysqlclient.so.16()(64bit)
Available: mysql-libs-5.1.71-1.el6.x86_64 (base)
libmysqlclient.so.16()(64bit)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16()(64bit)
2:postfix-2.6.6-2.2.el6_1.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit)
-----------------------
このようなエラーが出るときには、compat-mysql51をインストールしてあげます。
yum -y compat-mysql51
yum -y install nagios-plugins-all