[ZBX-23885] Unable to install Zabbix 7.0alpha9 on Ubuntu 22.04.3 LTS Created: 2023 Dec 22  Updated: 2023 Dec 25  Resolved: 2023 Dec 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 7.0.0alpha9
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: KB Benton Assignee: Zabbix Support Team
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:

  1. Attempt to install Zabbix 7.0alpha9 according to the inistall instructions 
  2. The following packages are already installed for other needs:
    $ sudo apt search libldap | grep -i installed

 

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libldap-2.5-0/jammy-updates,now 2.5.16+dfsg-0ubuntu0.22.04.1 amd64 [installed,automatic]
libldap-common/jammy-updates,now 2.5.16+dfsg-0ubuntu0.22.04.1 all [installed,automatic]
$ sudo apt search libssl | grep -i installed
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libssl3/jammy-updates,jammy-security,now 3.0.2-0ubuntu1.12 amd64 [installed,automatic]
$ sudo apt search libsnmp | grep -i installed
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libsnmp-base/jammy-updates,now 5.9.1+dfsg-1ubuntu2.6 all [installed,automatic]
libsnmp40/jammy-updates,now 5.9.1+dfsg-1ubuntu2.6 amd64 [installed,automatic]

 

When I get to this step:

 

sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
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-agent : Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
                Depends: libssl1.1 (>= 1.1.1) but it is not installable
 zabbix-server-mysql : Depends: libldap-2.4-2 (>= 2.4.7) but it is not installable
                       Depends: libsnmp35 (>= 5.8+dfsg) 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

 

Result:
See steps above
Expected:
Install works as expected without package conflicts.



 Comments   
Comment by Edgar Akhmetshin [ 2023 Dec 25 ]

Hello KB

https://www.zabbix.com/download?zabbix=7.0&os_distribution=ubuntu&os_version=22.04&components=server_frontend_agent&db=mysql&ws=apache

With clean Ubuntu 22.04.3 using Docker, prepare clean image:

docker create -i -t --platform linux/amd64 --name ubuntu ubuntu:22.04 /bin/bash
docker start ubuntu

docker exec -it ubuntu sh -c "apt update"

docker exec -it ubuntu sh -c "apt install wget"

docker exec -it ubuntu sh -c "wget https://repo.zabbix.com/zabbix/6.5/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.5-1+ubuntu22.04_all.deb"

docker exec -it ubuntu sh -c "dpkg -i zabbix-release_6.5-1+ubuntu22.04_all.deb"

docker exec -it ubuntu sh -c "apt update"

docker exec -it ubuntu sh -c "cat /etc/os-release"

Version:

root@e8c9d755d8dd:/# cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Install the packages:

docker exec -it ubuntu sh -c "apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent"

Result:

root@e8c9d755d8dd:/# apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils bzip2 file fontconfig-config fonts-dejavu fonts-dejavu-core fonts-dejavu-extra fping libapache2-mod-php libapache2-mod-php8.1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libargon2-1 libbrotli1 libbsd0
  libcap2-bin libcurl4 libdeflate0 libedit2 libevent-2.1-7 libevent-core-2.1-7 libevent-pthreads-2.1-7 libexpat1 libfontconfig1 libfreetype6 libgd3 libgdbm-compat4 libgdbm6 libicu70 libjansson4 libjbig0 libjpeg-turbo8 libjpeg8 libldap-2.5-0 libldap-common libltdl7
  liblua5.3-0 libmagic-mgc libmagic1 libmd0 libmodbus5 libmysqlclient21 libnghttp2-14 libodbc2 libonig5 libopenipmi0 libpam-cap libpci3 libperl5.34 libpng16-16 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsensors-config libsensors5 libsnmp-base
  libsnmp40 libsodium23 libsqlite3-0 libssh-4 libtiff5 libwebp7 libwrap0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2 libxpm4 libxslt1.1 mailcap media-types mime-support mysql-client mysql-client-8.0 mysql-client-core-8.0 mysql-common netbase pci.ids perl
  perl-modules-5.34 php-bcmath php-common php-gd php-ldap php-mbstring php-mysql php-xml php8.1-bcmath php8.1-cli php8.1-common php8.1-gd php8.1-ldap php8.1-mbstring php8.1-mysql php8.1-opcache php8.1-readline php8.1-xml psmisc snmpd ssl-cert tzdata ucf xz-utils
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser ufw bzip2-doc php-pear libgd-tools gdbm-l10n odbc-postgresql tdsodbc libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
  libsasl2-modules-sql lm-sensors snmp-mibs-downloader perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libtap-harness-archive-perl snmptrapd logrotate zabbix-nginx-conf virtual-mysql-server
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils bzip2 file fontconfig-config fonts-dejavu fonts-dejavu-core fonts-dejavu-extra fping libapache2-mod-php libapache2-mod-php8.1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libargon2-1 libbrotli1 libbsd0
  libcap2-bin libcurl4 libdeflate0 libedit2 libevent-2.1-7 libevent-core-2.1-7 libevent-pthreads-2.1-7 libexpat1 libfontconfig1 libfreetype6 libgd3 libgdbm-compat4 libgdbm6 libicu70 libjansson4 libjbig0 libjpeg-turbo8 libjpeg8 libldap-2.5-0 libldap-common libltdl7
  liblua5.3-0 libmagic-mgc libmagic1 libmd0 libmodbus5 libmysqlclient21 libnghttp2-14 libodbc2 libonig5 libopenipmi0 libpam-cap libpci3 libperl5.34 libpng16-16 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsensors-config libsensors5 libsnmp-base
  libsnmp40 libsodium23 libsqlite3-0 libssh-4 libtiff5 libwebp7 libwrap0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2 libxpm4 libxslt1.1 mailcap media-types mime-support mysql-client mysql-client-8.0 mysql-client-core-8.0 mysql-common netbase pci.ids perl
  perl-modules-5.34 php-bcmath php-common php-gd php-ldap php-mbstring php-mysql php-xml php8.1-bcmath php8.1-cli php8.1-common php8.1-gd php8.1-ldap php8.1-mbstring php8.1-mysql php8.1-opcache php8.1-readline php8.1-xml psmisc snmpd ssl-cert tzdata ucf xz-utils
  zabbix-agent zabbix-apache-conf zabbix-frontend-php zabbix-server-mysql zabbix-sql-scripts
0 upgraded, 116 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.1 MB of archives.
After this operation, 291 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y

...
 

 

root@e8c9d755d8dd:/# zabbix_server -V
zabbix_server (Zabbix) 7.0.0alpha9
Revision 6c4616adff7 19 December 2023, compilation time: Dec 19 2023 12:30:50

Copyright (C) 2023 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/).

Compiled with OpenSSL 3.0.2 15 Mar 2022
Running with OpenSSL 3.0.2 15 Mar 2022


root@e8c9d755d8dd:/#  apt search libldap | grep -i installed
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libldap-2.5-0/jammy-updates,now 2.5.16+dfsg-0ubuntu0.22.04.1 amd64 [installed,automatic]
libldap-common/jammy-updates,now 2.5.16+dfsg-0ubuntu0.22.04.1 all [installed,automatic]  

Please be advised that this section of the tracker is for bug reports only. The case you have submitted can not be qualified as one, so please reach out to [email protected] for commercial support (https://zabbix.com/support) or consultancy services. Alternatively, you can also use our community channels (https://www.zabbix.com/community) for assistance. With that said, we are closing this ticket. Thank you for understanding.

Regards,
Edgar

Generated at Fri May 29 20:24:34 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.