[ZBX-21363] rpm packages for rhel 9 from zabbix-repo have lower priority than packages from epel Created: 2022 Jul 20 Updated: 2024 Apr 10 Resolved: 2022 Nov 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Packages (C) |
Affects Version/s: | 6.2.0 |
Fix Version/s: | 6.4 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Pavel Podkortyov | Assignee: | Jurijs Klopovskis |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
NAME="Oracle Linux Server" x86_64 |
Issue Links: |
|
||||||||||||
Team: | |||||||||||||
Sprint: | Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022), Sprint 94 (Nov 2022) | ||||||||||||
Story Points: | 0.125 |
Description |
Steps to reproduce:
Result: Dnf suggests installation zabbix-agent 1:6.0.5-1.el9 from epel repo: Installing: zabbix-agent x86_64 1:6.0.5-1.el9 epel 278 k Expected: It happens because zabbix-agent packages was added to epel repo for rhel 9 with Epoch: 1 set in rpm spec, but zabbix repo has no Epoch in rpm spec (if it isn't set, it equals to 0):
dnf info zabbix-agent --showduplicates Last metadata expiration check: 0:41:20 ago on Wed 20 Jul 2022 04:57:58 AM UTC. Available Packages Name : zabbix-agent Epoch : 1 <--- Version : 6.0.5 Release : 1.el9 Architecture : x86_64 Size : 278 k Source : zabbix-6.0.5-1.el9.src.rpm Repository : epel Summary : Zabbix agent URL : https://www.zabbix.com License : GPLv2+ Description : Zabbix agent, to be installed on monitored systems Name : zabbix-agent Version : 6.2.0 Release : 1.el9 Architecture : x86_64 Size : 498 k Source : zabbix-6.2.0-1.el9.src.rpm Repository : zabbix Summary : Old Zabbix Agent URL : http://www.zabbix.com/ License : GPLv2+ Description : Old implementation of zabbix agent. : To be installed on monitored systems. As a workaround, we can exclude zabbix packages from epel.repo: [epel] ... excludepkgs=zabbix* And after that it works fine:
dnf install zabbix-agent Installing: zabbix-agent x86_64 6.2.0-1.el9 zabbix 498 k
|
Comments |
Comment by Jurijs Klopovskis [ 2022 Oct 26 ] |
Bumping the epoch will not solve the main problem of having incompatible Zabbix packages mixed from different sources which is no good. Suggest using the proposed workaround of excluding Zabbix packages in epel repo.
|
Comment by Nathan Liefting [ 2023 Mar 06 ] |
Just noticed this on Centos stream 8 today. Zabbix 6.0.13 is being pulled from EPEL instead of Zabbix repo.
Zabbix professional training VM was used. |
Comment by Jurijs Klopovskis [ 2023 Mar 06 ] |
See section a in https://www.zabbix.com/download?zabbix=6.0&os_distribution=alma_linux&os_version=9&components=server_frontend_agent&db=mysql&ws=apache
Can you have a look, and update the Training VMs, kaspars.mednis ? |
Comment by Kaspars Mednis [ 2023 Mar 07 ] |
Yes, will do. Thanks for reporting! |