Ad Widget

Collapse

Installation issue | Packages missing zabbix-apache-conf' zabbix-sql-scripts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Acheron
    Junior Member
    • Feb 2020
    • 3

    #1

    Installation issue | Packages missing zabbix-apache-conf' zabbix-sql-scripts

    Trying to install Zabbix Zabbix 6.0 LTS following the below URL: https://www.zabbix.com/download?zabb...ysql&ws=apache
    getting the below error:
    E: Package 'zabbix-apache-conf' has no installation candidate
    E: Unable to locate package zabbix-sql-scripts

    OS Details:
    root@monitor:~# lsb_release -a
    No LSB modules are available.
    Distributor ID:Ubuntu
    Description: Ubuntu 20.04.4 LTS
    Release: 20.04
    Codename: focal

    Tried updating the using: apt update
    it's up to date. All packages are up to date.

    Help is appreciated.
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    In step 1 you need to select Ubuntu 20.04, not 22.04.

    Comment

    • Acheron
      Junior Member
      • Feb 2020
      • 3

      #3
      Thanks, Dimir for the response;

      I believe you're referring to step 1 wget https://repo.zabbix.com/zabbix/6.0/u...u20.04_all.deb

      the same mentioned we are going, that is ubuntu20.04_all.deb

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        Yeah, for some reason it sometimes is not changing the instructions on changing the filter. Try these instructions:
        Code:
        wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-3%2Bubuntu20.04_all.deb
        sudo dpkg -i zabbix-release_6.0-3+ubuntu20.04_all.deb
        rm zabbix-release_6.0-3+ubuntu20.04_all.deb
        sudo apt update​

        Comment

        • MatiasCampo
          Junior Member
          • Jun 2022
          • 3

          #5
          I had a similar issue, and it had to do with the repo priority (I'm running a customized Ubuntu image). Run
          Code:
          sudo apt-cache policy
          and make sure that the Zabbix repository has a higher priority than the Ubuntu ones. The Ubuntu repos have an old Zabbix distribution that does not include the zabbix-sql-scripts package.

          If it's your case too, you can change the priority of the repo by adding a file in /etc/apt/preferences.d similar to this:

          Code:
          user@server:/etc/apt/preferences.d$ cat zabbix
          Package: *
          Pin: origin repo.zabbix.com
          Pin-Priority: 1000

          Comment

          Working...