Ad Widget

Collapse

Zabbix Server 6.4 installation on Debian Bookworm

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • executor
    Junior Member
    • Sep 2021
    • 5

    #1

    Zabbix Server 6.4 installation on Debian Bookworm

    According to the installation instructions, I should be able to simply add the Zabbix Debian archive and then install but unfortunately the server package depends on packages that are not available in Debian 12/Bookworm:
    Code:
    $ sudo apt install zabbix-server-pgsql
    Reading package lists... Done
    Building dependency tree... Done
    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-server-pgsql : Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
                           Depends: libssl1.1 (>= 1.1.1) but it is not installable
    E: Unable to correct problems, you have held broken packages.
    
    ​$ sudo apt install zabbix-server-pgsql libldap-2.4-2 libssl1.1
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Package libldap-2.4-2 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
      libldap-common
    
    Package libssl1.1 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'libldap-2.4-2' has no installation candidate
    E: Package 'libssl1.1' has no installation candidate
    Any ideas how to deal with this?
  • Answer selected by executor at 31-01-2024, 00:42.
    executor
    Junior Member
    • Sep 2021
    • 5

    I must have had some bogus setup in the apt sources.list. I found some hints in https://support.zabbix.com/browse/ZBX-23885 what to do:
    Code:
    $ sudo apt remove zabbix-release
    $ curl -LO https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1%2Bdebian12_all.deb
    $ sudo dpkg -i zabbix-release_6.4-1%2Bdebian12_all.deb
    $ sudo apt update
    $ sudo apt install zabbix-server-pgsql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent2

    Comment

    • executor
      Junior Member
      • Sep 2021
      • 5

      #2
      I must have had some bogus setup in the apt sources.list. I found some hints in https://support.zabbix.com/browse/ZBX-23885 what to do:
      Code:
      $ sudo apt remove zabbix-release
      $ curl -LO https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1%2Bdebian12_all.deb
      $ sudo dpkg -i zabbix-release_6.4-1%2Bdebian12_all.deb
      $ sudo apt update
      $ sudo apt install zabbix-server-pgsql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent2

      Comment

      Working...