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

zabbix-non-supported repo is enabled by default

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • None
    • Installation (I)

      Steps to reproduce:

      1. Install zabbix 4.4 repo on centos 7 

      rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm

      1. [zabbix-non-supported]by default is enabled.

      [root@nagios04 yum.repos.d]# more zabbix.repo
      [zabbix]
      name=Zabbix Official Repository - $basearch
      baseurl=http://repo.zabbix.com/zabbix/4.4/rhel/7/$basearch/
      enabled=1
      gpgcheck=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591

      [zabbix-debuginfo]
      name=Zabbix Official Repository debuginfo - $basearch
      baseurl=http://repo.zabbix.com/zabbix/4.4/rhel/7/$basearch/debuginfo/
      enabled=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
      gpgcheck=1

      [zabbix-non-supported]
      name=Zabbix Official Repository non-supported - $basearch
      baseurl=http://repo.zabbix.com/non-supported/rhel/7/$basearch/
      enabled=1
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
      gpgcheck=1
      [root@nagios04 yum.repos.d]#

      1. I had to disabled [zabbix-non-supported](turn enabled=0) so that following command will install zabbix-agent-4.4.5

      yum --disablerepo=epel install -y zabbix-agent 

      1. ...

      Result:

      [root@nagios04 yum.repos.d]# rpm -qa |grep zabbix
      zabbix-agent-4.4.5-2.el7.x86_64
      zabbix-release-4.4-1.el7.noarch
      [root@nagios04 yum.repos.d]#

      Expected:
      Without manual disable of  [zabbix-non-supported], the latest zabbix-agent-4.4.5 should be installed , not the zabbix-agent-4.0 version

      See attached patch file...

            zabbix.support Zabbix Support Team
            tjyang T.J. Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: