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

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Installation (I)
    • Labels:

      Description

      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.

      [[email protected] 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
      [[email protected] 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:

      [[email protected] yum.repos.d]# rpm -qa |grep zabbix
      zabbix-agent-4.4.5-2.el7.x86_64
      zabbix-release-4.4-1.el7.noarch
      [[email protected] 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...

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: