Hello everybody,
When I try to update Zabbix from 3.2.3 to 3.2.4, I hit the following issue on my CentOS 7 Zabbix server:
I've removed the key files in /etc/pki/rpm-gpg/ a few times now, tried to import them with rpm --import, I've reinstalled the zabbix-release.rpm from the official Zabbix repo, but nothing seams to help.
I did find ZBX-11868, but the rpm --import doesn't seam to help.
How badly have I destroyed the Zabbix repo configuration on my server and how do I get it working again?
When I try to update Zabbix from 3.2.3 to 3.2.4, I hit the following issue on my CentOS 7 Zabbix server:
Code:
root@zabbix1:~# yum clean all && yum update Loaded plugins: fastestmirror, replace Cleaning repos: base epel extras ius mariadb updates zabbix zabbix-non-supported Cleaning up everything Cleaning up list of fastest mirrors Loaded plugins: fastestmirror, replace base | 3.6 kB 00:00:00 epel/x86_64/metalink | 25 kB 00:00:00 epel | 4.3 kB 00:00:00 extras | 3.4 kB 00:00:00 ius | 2.3 kB 00:00:00 mariadb | 2.9 kB 00:00:00 updates | 3.4 kB 00:00:00 zabbix | 951 B 00:00:00 zabbix-non-supported | 951 B 00:00:00 (1/9): epel/x86_64/group_gz | 170 kB 00:00:00 (2/9): epel/x86_64/primary_db | 4.6 MB 00:00:00 (3/9): epel/x86_64/updateinfo | 751 kB 00:00:00 (4/9): extras/7/x86_64/primary_db | 122 kB 00:00:00 (5/9): updates/7/x86_64/primary_db | 3.8 MB 00:00:00 (6/9): base/7/x86_64/primary_db | 5.6 MB 00:00:00 (7/9): ius/x86_64/primary_db | 199 kB 00:00:00 (8/9): base/7/x86_64/group_gz | 155 kB 00:00:00 (9/9): mariadb/primary_db | 18 kB 00:00:00 (1/2): zabbix/x86_64/primary | 12 kB 00:00:00 (2/2): zabbix-non-supported/x86_64/primary | 1.6 kB 00:00:00 Determining fastest mirrors * base: mirror.netrouting.net * epel: mirror.nl.leaseweb.net * extras: mirrors.supportex.net * ius: mirror.amsiohosting.net * updates: centos.mirror.transip.nl zabbix 79/79 zabbix-non-supported 4/4 Resolving Dependencies --> Running transaction check ---> Package zabbix-agent.x86_64 0:3.2.3-1.el7 will be updated ---> Package zabbix-agent.x86_64 0:3.2.4-2.el7 will be an update ---> Package zabbix-sender.x86_64 0:3.2.3-1.el7 will be updated ---> Package zabbix-sender.x86_64 0:3.2.4-2.el7 will be an update ---> Package zabbix-server-mysql.x86_64 0:3.2.3-1.el7 will be updated ---> Package zabbix-server-mysql.x86_64 0:3.2.4-2.el7 will be an update ---> Package zabbix-web.noarch 0:3.2.3-1.el7 will be updated ---> Package zabbix-web.noarch 0:3.2.4-2.el7 will be an update ---> Package zabbix-web-mysql.noarch 0:3.2.3-1.el7 will be updated ---> Package zabbix-web-mysql.noarch 0:3.2.4-2.el7 will be an update --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================================================================== Package Arch Version Repository Size ====================================================================================================================================================================================================== Updating: zabbix-agent x86_64 3.2.4-2.el7 zabbix 342 k zabbix-sender x86_64 3.2.4-2.el7 zabbix 244 k zabbix-server-mysql x86_64 3.2.4-2.el7 zabbix 1.8 M zabbix-web noarch 3.2.4-2.el7 zabbix 3.6 M zabbix-web-mysql noarch 3.2.4-2.el7 zabbix 5.1 k Transaction Summary ====================================================================================================================================================================================================== Upgrade 5 Packages Total download size: 6.0 M Is this ok [y/d/N]: y Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. warning: /var/cache/yum/x86_64/7/zabbix/packages/zabbix-agent-3.2.4-2.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY ] 0.0 B/s | 49 kB --:--:-- ETA Public key for zabbix-agent-3.2.4-2.el7.x86_64.rpm is not installed (1/5): zabbix-agent-3.2.4-2.el7.x86_64.rpm | 342 kB 00:00:00 (2/5): zabbix-sender-3.2.4-2.el7.x86_64.rpm | 244 kB 00:00:00 (3/5): zabbix-server-mysql-3.2.4-2.el7.x86_64.rpm | 1.8 MB 00:00:01 (4/5): zabbix-web-3.2.4-2.el7.noarch.rpm | 3.6 MB 00:00:01 (5/5): zabbix-web-mysql-3.2.4-2.el7.noarch.rpm | 5.1 kB 00:00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Total 2.2 MB/s | 6.0 MB 00:00:02 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591 The GPG keys listed for the "Zabbix Official Repository - x86_64" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository. Failing package is: zabbix-sender-3.2.4-2.el7.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
I did find ZBX-11868, but the rpm --import doesn't seam to help.
How badly have I destroyed the Zabbix repo configuration on my server and how do I get it working again?

Comment