[ZBX-20609] unable to install zabbix agent on Ubuntu 21.10 Created: 2022 Feb 17  Updated: 2022 Feb 25  Resolved: 2022 Feb 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 5.4.10
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Damian Yates Assignee: Andrey Tocko (Inactive)
Resolution: Won't fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I tried several times to submit to forums to obtain assistance but repeatedly kept getting rejected.  Hoping to have better luck here. 

Will the agent only work on the stable version of ubuntu or is there a way around this issue? 

Steps to reproduce:

root@server:~# apt install zabbix-agent -y
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
E: Unable to correct problems, you have held broken packages.



 Comments   
Comment by Pavel [ 2022 Feb 21 ]

I have the same problem:

# apt install 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
E: Unable to correct problems, you have held broken packages.

 

# cat /etc/apt/sources.list.d/zabbix.list
deb https://repo.zabbix.com/zabbix/5.4/ubuntu focal main
deb-src https://repo.zabbix.com/zabbix/5.4/ubuntu focal main 

At the same time libldap meets requirements:

# dpkg -l | grep libldap
ii  libldap-2.5-0:amd64                   2.5.6+dfsg-1~exp1ubuntu1           amd64        OpenLDAP libraries
ii  libldap-common                        2.5.6+dfsg-1~exp1ubuntu1           all          OpenLDAP common files for libraries 
Comment by Andrey Tocko (Inactive) [ 2022 Feb 25 ]

Hello!
We do not provide packages for non-LTS Ubuntu versions.
And you are trying to use focal package on impish.

Install zabbix_agent2, as it does not require libldap-2.4

Closing ticket.

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