[ZBX-14621] Installing zabbix-agent from repository v3.2 on CentOS 7 is failed (wrong version 3.4 instead 3.2) Created: 2018 Jul 17  Updated: 2018 Jul 18  Resolved: 2018 Jul 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Sergey Gurovich Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:

  1. rpm -ivh http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm
  2. yum install zabbix-agent

Result:
**

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

  • base: mirror.keystealth.org
  • extras: mirror.hmc.edu
  • updates: repos.lax.quadranet.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-agent.x86_64 0:3.4.11-1.el7 will be installed
    --> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
zabbix-agent x86_64 3.4.11-1.el7 zabbix 365 k

Transaction Summary
====================================================================================================================================
Install 1 Package

Total download size: 365 k
Installed size: 1.4 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for zabbix
zabbix-agent-3.4.11-1.el7.x86_ FAILED
http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-agent-3.4.11-1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found-:-- ETA
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

 

Error downloading packages:
zabbix-agent-3.4.11-1.el7.x86_64: [Errno 256] No more mirrors to try.

 

Expected:
Installation of http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-agent-3.2.11-1.el7.x86_64.rpm version but not zabbix-agent-3.4.11-1.el7.x86_64



 Comments   
Comment by Kaspars Mednis [ 2018 Jul 17 ]

Maybe you had Zabbix release 3.4 previosly installed on this system ?\

have you tried

yum clean all 

command before installing zabbix-agent ?

 

[root@centos74 ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base extras updates zabbix zabbix-non-supported
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
[root@centos74 ~]# yum install zabbix-agent
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
zabbix | 2.9 kB 00:00:00
zabbix-non-supported | 951 B 00:00:00
(1/5): base/7/x86_64/group_gz | 166 kB 00:00:00
(2/5): extras/7/x86_64/primary_db | 150 kB 00:00:00
(3/5): updates/7/x86_64/primary_db | 3.6 MB 00:00:00
(4/5): base/7/x86_64/primary_db | 5.9 MB 00:00:02
(5/5): zabbix/x86_64/primary_db | 87 kB 00:00:02
zabbix-non-supported/x86_64/primary | 1.6 kB 00:00:00
Determining fastest mirrors
* base: centos.linux.edu.lv
* extras: centos.linux.edu.lv
* updates: centos.linux.edu.lv
zabbix-non-supported 4/4
Resolving Dependencies
--> Running transaction check
---> Package zabbix-agent.x86_64 0:3.2.11-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================================
Installing:
zabbix-agent x86_64 3.2.11-1.el7 zabbix 348 k

Transaction Summary
===============================================================================================================================================================================================================
Install 1 Package
Comment by Sergey Gurovich [ 2018 Jul 18 ]

Yes, you right. On this system the 3.4 repo was installed before.

The removing 3.4 repo rpm + "yum clean all" doesn't help. The  

"rm -rf /var/cache/yum" after "yum clean all" solves the issue.

Thank you.

Comment by Sergey Gurovich [ 2018 Jul 18 ]

If other repo was installed before it maybe removed by:

rpm -e zabbix-agent

rpm -e zabbix-release

yum clean all
rm -rf /var/cache/yum

Generated at Mon Apr 28 09:02:27 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.