Error installing on CentOS 7.4
Hi. yum install fails and tells me I need zabbix-agent >=2.2.0, which I have. Any ideas?
[root@pgc1-dev ~]# zabbix_agent -V Zabbix agent v2.2.18 (revision 67443) (19 April 2017) Compilation time: Jun 23 2017 23:04:54
[root@pgc1-dev ~]# yum install libzbxpgsql-1.1.0-1.el7.x86_64.rpm Loaded plugins: etckeeper, fastestmirror, priorities Examining libzbxpgsql-1.1.0-1.el7.x86_64.rpm: libzbxpgsql-1.1.0-1.x86_64 Marking libzbxpgsql-1.1.0-1.el7.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package libzbxpgsql.x86_64 0:1.1.0-1 will be installed --> Processing Dependency: zabbix-agent < 3.0.0 for package: libzbxpgsql-1.1.0-1.x86_64 Loading mirror speeds from cached hostfile
- base: centos.uib.no
- epel: ftp.uninett.no
- extras: centos.uib.no
- updates: centos.uib.no --> Processing Dependency: zabbix-agent >= 2.2.0 for package: libzbxpgsql-1.1.0-1.x86_64 --> Processing Dependency: libconfig.so.9()(64bit) for package: libzbxpgsql-1.1.0-1.x86_64 --> Running transaction check ---> Package libconfig.x86_64 0:1.4.9-5.el7 will be installed ---> Package libzbxpgsql.x86_64 0:1.1.0-1 will be installed --> Processing Dependency: zabbix-agent < 3.0.0 for package: libzbxpgsql-1.1.0-1.x86_64 --> Processing Dependency: zabbix-agent >= 2.2.0 for package: libzbxpgsql-1.1.0-1.x86_64 --> Finished Dependency Resolution Error: Package: libzbxpgsql-1.1.0-1.x86_64 (/libzbxpgsql-1.1.0-1.el7.x86_64) Requires: zabbix-agent >= 2.2.0 Error: Package: libzbxpgsql-1.1.0-1.x86_64 (/libzbxpgsql-1.1.0-1.el7.x86_64) Requires: zabbix-agent < 3.0.0 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [root@pgc1-dev ~]#
The libzbxpgsql packages are only compatible with the Zabbix packages provided by Zabbix at http://repo.zabbix.com/zabbix/2.2/. Did you install the Zabbix agent from there?
Please post the result of $ rpm -qa | grep zabbix.