[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@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 |