[ZBX-21612] RPM repository broken on AlmaLinux/RHEL 9 Created: 2022 Sep 08  Updated: 2024 Apr 10  Resolved: 2022 Sep 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Packages (C)
Affects Version/s: 6.2.2
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Glenn Matthys Assignee: Jurijs Klopovskis
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-21363 rpm packages for rhel 9 from zabbix-r... Closed
Team: Team B
Sprint: Sprint 92 (Sep 2022)

 Description   

Steps to reproduce:

  1. Add Zabbix rpm repository: rpm -Uvh https://repo.zabbix.com/zabbix/6.2/rhel/9/x86_64/zabbix-release-6.2-2.el9.noarch.rpm
  2. Installl packages: dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent
  3. Run upgrade: dnf upgrade

Result:
Upgrade fails:

[root@xxx ~]# yum upgrade
AlmaLinux 9 - AppStream                                                                                                                                                                                      3.6 MB/s | 7.9 MB     00:02
AlmaLinux 9 - BaseOS                                                                                                                                                                                         2.0 MB/s | 3.4 MB     00:01
AlmaLinux 9 - Extras                                                                                                                                                                                          11 kB/s |  12 kB     00:01
Extra Packages for Enterprise Linux 9 - x86_64                                                                                                                                                               4.3 MB/s | 9.9 MB     00:02
Zabbix Official Repository - x86_64                                                                                                                                                                           29 kB/s |  55 kB     00:01
Zabbix Official Repository non-supported - x86_64                                                                                                                                                            688  B/s | 1.1 kB     00:01
Zabbix Official Repository (Agent2 Plugins) - x86_64                                                                                                                                                         693  B/s | 1.1 kB     00:01
Error:
 Problem 1: package zabbix-web-deps-6.2.2-release2.el9.noarch requires zabbix-web = 6.2.2-release2.el9, but none of the providers can be installed
  - cannot install both zabbix-web-1:6.0.5-1.el9.noarch and zabbix-web-6.2.2-release2.el9.noarch
  - cannot install both zabbix-web-6.2.2-release2.el9.noarch and zabbix-web-1:6.0.5-1.el9.noarch
  - cannot install the best update candidate for package zabbix-web-deps-6.2.2-release2.el9.noarch
  - cannot install the best update candidate for package zabbix-web-6.2.2-release2.el9.noarch
 Problem 2: package zabbix-apache-conf-6.2.2-release2.el9.noarch requires zabbix-web-deps = 6.2.2-release2.el9, but none of the providers can be installed
  - package zabbix-web-deps-6.2.2-release2.el9.noarch requires zabbix-web = 6.2.2-release2.el9, but none of the providers can be installed
  - cannot install both zabbix-web-1:6.0.5-1.el9.noarch and zabbix-web-6.2.2-release2.el9.noarch
  - cannot install both zabbix-web-6.2.2-release2.el9.noarch and zabbix-web-1:6.0.5-1.el9.noarch
  - package zabbix-web-mysql-1:6.0.5-1.el9.noarch requires zabbix-web = 1:6.0.5-1.el9, but none of the providers can be installed
  - cannot install the best update candidate for package zabbix-web-mysql-6.2.2-release2.el9.noarch
  - cannot install the best update candidate for package zabbix-apache-conf-6.2.2-release2.el9.noarch
(try to add '-allowerasing' to command line to replace conflicting packages or '-nobest' to use not only best candidate packages)
[root@xxx ~]#

Already installed packages:

[root@xxx ~]# rpm -qa|grep -i zabbix
zabbix-release-6.2-2.el9.noarch
zabbix-web-6.2.2-release2.el9.noarch
zabbix-web-mysql-6.2.2-release2.el9.noarch
zabbix-web-deps-6.2.2-release2.el9.noarch
zabbix-apache-conf-6.2.2-release2.el9.noarch
zabbix-agent-6.2.2-release1.el9.x86_64
zabbix-server-mysql-6.2.2-release1.el9.x86_64
zabbix-sql-scripts-6.2.2-release1.el9.noarch
zabbix-selinux-policy-6.2.2-release1.el9.x86_64
zabbix-sender-6.2.2-release1.el9.x86_64
[root@xxx ~]#

Expected:
Upgrade command works as normal



 Comments   
Comment by Jurijs Klopovskis [ 2022 Sep 09 ]

This is because of EPEL (Extra Packages for Enterprise Linux 9). Our packages are currently in conflict with packages provided by epel. It was suggested, by one user to bump epoch on our side, but in the long run, official Zabbix packages and Zabbix packages from epel are incompatible.

I advise to avoid using epel on machines with official Zabbix server/frontend, if possible.

I'll see what I can do.

Generated at Sat Apr 26 05:48:50 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.