zabbix服务器环境--安装过程中的报错解决:Error: Package
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix服务器环境--安装过程中的报错解决:Error: Package相关的知识,希望对你有一定的参考价值。
# 错误提示:
--> Finished Dependency Resolution
Error: Package: php-ldap-5.4.16-42.el7.x86_64 (base)
Requires: php-common(x86-64) = 5.4.16-42.el7
Installed: php-common-5.4.16-45.el7.x86_64 (@base)
php-common(x86-64) = 5.4.16-45.el7
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-xml-5.4.16-42.el7.x86_64 (base)
Requires: php-common(x86-64) = 5.4.16-42.el7
Installed: php-common-5.4.16-45.el7.x86_64 (@base)
php-common(x86-64) = 5.4.16-45.el7
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-gd-5.4.16-42.el7.x86_64 (base)
Requires: php-common(x86-64) = 5.4.16-42.el7
Installed: php-common-5.4.16-45.el7.x86_64 (@base)
php-common(x86-64) = 5.4.16-45.el7
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-42.el7
Error: Package: httpd-2.4.6-67.el7.centos.x86_64 (base)
Requires: httpd-tools = 2.4.6-67.el7.centos
Installed: httpd-tools-2.4.6-80.el7.centos.x86_64 (@base)
httpd-tools = 2.4.6-80.el7.centos
Available: httpd-tools-2.4.6-67.el7.centos.x86_64 (base)
httpd-tools = 2.4.6-67.el7.centos
Error: Package: php-mbstring-5.4.16-42.el7.x86_64 (base)
Requires: php-common(x86-64) = 5.4.16-42.el7
Installed: php-common-5.4.16-45.el7.x86_64 (@base)
php-common(x86-64) = 5.4.16-45.el7
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-5.4.16-42.el7.x86_64 (base)
Requires: php-common(x86-64) = 5.4.16-42.el7
Installed: php-common-5.4.16-45.el7.x86_64 (@base)
php-common(x86-64) = 5.4.16-45.el7
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-pdo-5.4.16-42.el7.x86_64 (base)
Requires: php-common(x86-64) = 5.4.16-42.el7
Installed: php-common-5.4.16-45.el7.x86_64 (@base)
php-common(x86-64) = 5.4.16-45.el7
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-cli-5.4.16-42.el7.x86_64 (base)
Requires: php-common(x86-64) = 5.4.16-42.el7
Installed: php-common-5.4.16-45.el7.x86_64 (@base)
php-common(x86-64) = 5.4.16-45.el7
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-42.el7
Error: Package: php-bcmath-5.4.16-42.el7.x86_64 (base)
Requires: php-common(x86-64) = 5.4.16-42.el7
Installed: php-common-5.4.16-45.el7.x86_64 (@base)
php-common(x86-64) = 5.4.16-45.el7
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-42.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
# 问题分析: 在安装zabbix服务器环境的时候出现了如下的错误;
通过对错误分析发现错误来源于zabbix服务器对PHP和httpd版本需要比
我们实际此前已经安装的PHP和httpd的版本要求更低造成的;
#解决办法:
只需要卸载我们已经安装的高版本的PHP和Apache httpd即可;
然后执行如下安装zabbix服务器环境的安装包,他就会自动的解决他所依
赖的httpd和PHP的合适版本;
# yum remove php-*
# yum remove httpd*
[[email protected] yum.repos.d]#yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent
以上是关于zabbix服务器环境--安装过程中的报错解决:Error: Package的主要内容,如果未能解决你的问题,请参考以下文章
记录一次Sqlserver数据库订阅与发布过程中的报错解决过程
zabbix 安装时的报错mysql_connect(): Access denied for us