Ad Widget

Collapse

dependencies issues during offline installation of zabbix-server 7.0 for RHEL8

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mkda_pf
    Junior Member
    • Jun 2024
    • 3

    #1

    dependencies issues during offline installation of zabbix-server 7.0 for RHEL8

    Hi dear community,

    I successfully installed zabbix-server previously into our development environment using recommendations from :
    https://www.zabbix.com/fr/download?zabbix=7.0&os_distribution=red_hat_enterp rise_linux&os_version=8&components=server_frontend _agent&db=pgsql&ws=apache

    and sources from:


    While installing onto another RHEL8 server in production, I am facing a dependency issue :

    Code:
    #sudo dnf install -y zabbix-web-deps-7.0.0-release1.el8.noarch.rpm
    results in
    Code:
     Problem: conflicting requests
      - nothing provides zabbix-web = 7.0.0-release1.el8 needed by zabbix-web-deps-7.0.0-release1.el8.noarch from @commandline
      - nothing provides zabbix-web-database = 7.0.0-release1.el8 needed by zabbix-web-deps-7.0.0-release1.el8.noarch from @commandline
    (despite zabbix-web-7.0.0-release1.el8.noarch being already installed, as seen below)

    Code:
    #sudo dnf install -y zabbix-web-pgsql-7.0.0-release1.el8.noarch.rpm
    results in
    Code:
     nothing provides zabbix-web-deps = 7.0.0-release1.el8 needed by zabbix-web-pgsql-7.0.0-release1.el8.noarch from @commandline
    I tried to install each package before the other, but it looks like dependencies are failing between these two packages.
    I searched for any older zabbix* package depiste this being the first attempt, and did not found any :

    Code:
    #rpm -qa | grep -i zab
    zabbix-web-7.0.0-release1.el8.noarch
    zabbix-server-pgsql-7.0.0-release1.el8.x86_64
    zabbix-selinux-policy-7.0.0-release1.el8.x86_64
    zabbix-sql-scripts-7.0.0-release1.el8.noarch
    I tried to clean DNF cache and update :
    Code:
    #sudo dnf clean all
    #sudo rm -r /var/cache/dnf/
    #sudo dnf upgrade
    But I am still having the same issue which prevents the installation. I ensured that I was not installing packages from another distribution as well, as read into similar topics.
    Does anyone knows what could be happening here by any chance ?

    PS : I can reproduce onto different servers in the same environment. The Linux version is the same between development and production :

    Code:
    Linux ************  4.18.0-553.el8_10.x86_64 #1 SMP Fri May 10 15:19:13 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux
    Many thanks in advance for your help - all.
    Have an excellent day.
    Last edited by mkda_pf; 02-07-2024, 16:11.
  • Answer selected by mkda_pf at 03-07-2024, 10:10.
    tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    Originally posted by mkda_pf
    I tried to install each package before the other, but it looks like dependencies are failing between these two packages.
    Rather than trying to install the packages one after the other, try installing them at the same time by listing both packages on the command line. yum/dnf and the rpm libraries they use have the notion of package transactions, and you want to list the packages you need in the same transaction.

    Comment


    • mkda_pf
      mkda_pf commented
      Editing a comment
      Thanks a lot Tim, that was it, you are my day's savior.
      I'm impressed by the capacities of the tool, LLD and dependent items are the most powerful thing I have seen since a while.
      Cheers to the community.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Originally posted by mkda_pf
    I tried to install each package before the other, but it looks like dependencies are failing between these two packages.
    Rather than trying to install the packages one after the other, try installing them at the same time by listing both packages on the command line. yum/dnf and the rpm libraries they use have the notion of package transactions, and you want to list the packages you need in the same transaction.

    Comment


    • mkda_pf
      mkda_pf commented
      Editing a comment
      Thanks a lot Tim, that was it, you are my day's savior.
      I'm impressed by the capacities of the tool, LLD and dependent items are the most powerful thing I have seen since a while.
      Cheers to the community.
Working...