Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21940

Broken dependencies for zabbix-agent2 from repositories

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • Ubuntu 20.04, RHEL 8, probably more

      We have some problems with the newer versions of zabbix-agent2 from the official Zabbix Repository.
      When trying to install Package zabbix-agent (currently Version 6.0.10-2) we get dependency conflicts because zabbix-agent2-plugin-mongodb and zabbix-agent-plugin-postgresql are not available.

      I have tested this here on Ubuntu 20.04 but this problems seems to at least also exist on RHEL 8. I have some systems that have Version 6.0.7 of Zabbix Agent installed so it looks like dependencies were still fine then.

       

      Steps to reproduce:

      1. Add official Zabbix repository:
        echo 'deb https://repo.zabbix.com/zabbix/6.0/ubuntu/ focal main' > /etc/apt/sources.list.d/zabbix.list
      2. Update sources:
        apt-get update
      3. Try to install zabbix-agent2:
        apt-get install zabbix-agent2

      Result:
      zabbix-agent2 cannot be installed because of missing packages:

      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
       zabbix-agent2 : Depends: zabbix-agent2-plugin-mongodb but it is not installable
                       Depends: zabbix-agent2-plugin-postgresql but it is not installable
      E: Unable to correct problems, you have held broken packages.

      Expected:

      Package zabbix-agent2 and all its dependencies get installed

            zabbix.support Zabbix Support Team
            AnsgarKlein Ansgar Klein
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: