[ZBX-16722] After upgrade to Debian Buster Zabbix-Agent is not working Created: 2019 Oct 04  Updated: 2019 Oct 09  Resolved: 2019 Oct 09

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

Type: Incident report Priority: Minor
Reporter: Andre Kipper Assignee: Jurijs Klopovskis
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 10.1 Buster



 Description   

Steps to reproduce:

I did a inplace upgrade to Debian 10.1 Buster. During update libcurl3 was replaced by libcurl4. After then zabbix-agent was not working anymore and isn't installed, as per apt-get install zabbix-agent, I get:

 

root@<server>:~# apt-get install zabbix-agent
Reading package lists... Done
Building dependency tree
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: libcurl3 (>= 7.16.2) but it is not installable
E: Unable to correct problems, you have held broken packages.

 

If I try to install libucrl3, I get:

 

root@<server>:~# apt-get install libcurl3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcurl3 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:
 libcurl4
E: Package 'libcurl3' has no installation candidate

 

Installed libcurl:
root@<server>:~# dpkg -l | grep curl
ii curl 7.64.0-4 amd64 command line tool for transferring data with URL syntax
ii libcurl3-gnutls:amd64 7.64.0-4 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurl4:amd64 7.64.0-4 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii python3-pycurl 7.43.0.2-0.1 amd64 Python bindings to libcurl (Python 3)
My sources:

 

root@SATVIEZBX03:~# cat /etc/apt/sources.list
deb http://httpredir.debian.org/debian buster main contrib non-free
deb http://httpredir.debian.org/debian buster-updates main contrib non-free
deb http://security.debian.org buster/updates main contrib non-free

 

 

How can I fix the installation of the zabbix-agent?

 

 

 

 

 



 Comments   
Comment by Jurijs Klopovskis [ 2019 Oct 04 ]

Hi,

Most probably this is because it is trying to install the stretch version of zabbix-agent package.

What's the output of apt info zabbix-agent on your system?

If you get Version: 1:4.2.7-1+stretch, then this means you need to update the zabbix-release package.

# wget https://repo.zabbix.com/zabbix/4.2/debian/pool/main/z/zabbix-release/zabbix-release_4.2-2+buster_all.deb
# dpkg -i zabbix-release_4.2-2+buster_all.deb
# apt update
Comment by Andre Kipper [ 2019 Oct 07 ]

Dear Jurijs,

 

thanks, that worked.

 

Best regards

Generated at Sat Jun 14 17:20:15 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.