Ad Widget

Collapse

Zabbix 7.0 cannot be installed on Ubuntu 22.04, it is not updated on packages list.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cpservicespb
    Junior Member
    • Feb 2023
    • 5

    #1

    Zabbix 7.0 cannot be installed on Ubuntu 22.04, it is not updated on packages list.

    There is Ubuntu 22.04 LTS with Postgresql and Apache2.
    I want to install Zabbix 7.0 Server: Frontend and agent from a scratch.

    I saw by
    Code:
    apt search zabbix-server
    that initially Ubuntu 22.04 contents Zabbix 5.0.17+dfsg-1ubuntu0.1~esm1

    To make a fresh installation of new 7.0 version I did:
    Code:
    wget https://repo.zabbix.com/zabbix/7.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-2+ubuntu22.04_all.deb
    dpkg -i zabbix-release_7.0-2+ubuntu22.04_all.deb
    apt update
    All was fine.
    Zabbix-releae package was installed - keys were added as well as repositories to list files.

    But there is still Zabbix 5.0.17+dfsg-1ubuntu0.1~esm1 at my Ubuntu packages list by apt search zabbix-server
    Nevertheless some new 7.0.2 packages was added, for example zabbix-sql-scripts, zabbix-apache-conf are 7.0.2.

    When I tried
    Code:
    apt install zabbix-server-pgsql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
    Zabbix 5.0 was installed.

    What is wrong ?
  • cpservicespb
    Junior Member
    • Feb 2023
    • 5

    #2
    Nothing changed.
    Here are packages of 7.0.2 version:
    Code:
    zabbix-agent-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-agent2/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-agent2-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-agent2-plugin-ember-plus/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-agent2-plugin-mongodb/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-agent2-plugin-mssql/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-agent2-plugin-postgresql/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-apache-conf/zabbix 1:7.0.2-1+ubuntu22.04 all
    zabbix-get/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-get-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-js/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-js-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-nginx-conf/zabbix 1:7.0.2-1+ubuntu22.04 all
    zabbix-proxy-mysql-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-proxy-pgsql-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-proxy-sqlite3-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-release/zabbix,now 1:7.0-2+ubuntu22.04 all [установлен]
    zabbix-sender/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-sender-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-server-mysql-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-server-pgsql-dbgsym/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    zabbix-sql-scripts/zabbix 1:7.0.2-1+ubuntu22.04 all
    zabbix-web-service/zabbix 1:7.0.2-1+ubuntu22.04 amd64
    But there is no
    Code:
    zabbix-server-mysql
    or
    Code:
    zabbix-server-pgsql
    .

    It seems I foundedout the reason - it is epository priority:

    Code:
    apt-cache policy zabbix-server-pgsql
    Candidate:   1:5.0.17+dfsg-1ubuntu0.1~esm1
     Versions table:
        1:7.0.2-1+ubuntu22.04 500
           500 https://repo.zabbix.com/zabbix/7.0/ubuntu jammy/main amd64 Packages
        1:7.0.1-1+ubuntu22.04 500
           500 https://repo.zabbix.com/zabbix/7.0/ubuntu jammy/main amd64 Packages
        1:7.0.0-1+ubuntu22.04 500
           500 https://repo.zabbix.com/zabbix/7.0/ubuntu jammy/main amd64 Packages
        1:5.0.17+dfsg-1ubuntu0.1~esm1 510
           510 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 Packages
        1:5.0.17+dfsg-1 500
           500 http://ru.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
    The priority of
    Code:
    https://esm.ubuntu.com/apps/ubuntu
    is higher ...
    I attached the server to ESM subscription.

    How do the zabbix repo priority change ?

    I added file to /etc/apt/preferences.d folder with zabbix with much higher priority. The question is solved !
    Last edited by cpservicespb; 01-08-2024, 23:46.

    Comment

    • Bobal9
      Junior Member
      • Jul 2024
      • 13

      #3
      Good morning.
      Have you used ember plus?

      Thx.

      Comment

      Working...