Ad Widget

Collapse

Problems with dnf on Rocky 9 after zabbix-agent installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nivaneza
    Junior Member
    • May 2024
    • 3

    #1

    Problems with dnf on Rocky 9 after zabbix-agent installation

    I have installed zabbix-agent on several of my servers that are running on Rocky 9. Agent installation finished without any problem and servers are visible in Zabbix. What did happen is that now when i try to update a server using dnf update command I get the following error:
    Error:
    Problem: cannot install the best update candidate for package zabbix-selinux-1:6.0.27-1.el9.noarch
    - nothing provides selinux-policy >= 38.1.35-2.el9_4 needed by zabbix-selinux-1:6.0.29-1.el9.noarch from epel-testing
    - nothing provides selinux-policy-base >= 38.1.35-2.el9_4 needed by zabbix-selinux-1:6.0.29-1.el9.noarch from epel-testing
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

    zabbix-agent was installed from epel repository. I do notice that it is asking for el9_4 packages although Rocky is still on 9.3.

    Did anyone had this problem?
  • vijayk
    Senior Member
    • May 2023
    • 305

    #2
    I have faced the same issue but with AlmaLinux 8.9 and its resolve by upgrade to AlmaLinux 9.4.

    Comment

    • nivaneza
      Junior Member
      • May 2024
      • 3

      #3
      Problem is that there is no Rocky 9.4 yet. I cannot upgrade to it.

      Comment

      • nivaneza
        Junior Member
        • May 2024
        • 3

        #4
        Rocky 9.4 was released but I than had problems with the SELinux policies while using external scripts for custom checks. In the end I installed zabbix agent 2 from Zabbix repository and now everything works.

        Comment

        Working...