安装旧的MySQL客户端库(libmysqlclient.so.15,libpq.so.4)

我试图在运行CentOS 6.4的Zimbra 8.0.2服务器上安装Nagios插件,但是当我运行yum install nagios-plugins-all时遇到以下错误

 Error: Package: nagios-plugins-mysql-1.4.15-2.el5.x86_64 (epel) Requires: libmysqlclient.so.15()(64bit) Error: Package: nagios-plugins-pgsql-1.4.15-2.el5.x86_64 (epel) Requires: libpq.so.4()(64bit) Error: Package: nagios-plugins-mysql-1.4.15-2.el5.x86_64 (epel) Requires: libmysqlclient.so.15(libmysqlclient_15)(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest 

我如何安装这些(libmysqlclient.so.15&libpq.so.4)?

将安装这些库可能会打破Zimbra?

看起来我必须删除一些caching的软件包:

运行解决了这个问题:

 yum clean all 

然后

 yum clean metadata 

当运行yum install nagios-plugins-all时,最新版本的nagios-plugins( 1.4.16-5.el6.x86_64.rpm )可以通过epel repo获得