[ZBX-21666] zabbix-agent2 package isn't built for ubuntu 18.04 Created: 2022 Sep 18  Updated: 2024 Apr 10  Resolved: 2022 Sep 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 6.0.7, 6.0.8
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Ivan Prokudin Assignee: Jurijs Klopovskis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ubuntu 18.04


Team: Team B
Sprint: Sprint 92 (Sep 2022)
Story Points: 0.125

 Description   

Hello!

I'm building my own packages of zabbix agent for ubuntu 18.04. I noticed that starting from zabbix 6.0.7 package with zabbix-agent2 stopped being built. The root of the problem is in the file debian/control . zabbix-agent2 package was removed from it for debian scripts for ubuntu 18.04. Please see the following patch to make things clearer.

 

--- zbx-606/debian/control      2022-06-27 11:04:13.000000000 +0300

+++ zbx-608/debian/control      2022-08-29 10:33:19.000000000 +0300

@@ -59,30 +59,6 @@

  Zabbix server or Zabbix proxy.

  
  
-Package: zabbix-agent2

-Architecture: any

-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base, libssl1.1 | libssl  
-Suggests: logrotate

-Description: Zabbix network monitoring solution - agent

- Zabbix is the ultimate enterprise-level software designed for

- real-time monitoring of millions of metrics collected from tens of

- thousands of servers, virtual machines and network devices.

- .

- This package provides new implementation of zabbix agent.

-

-

-Package: zabbix-web-service

-Architecture: any

-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base

-Suggests: logrotate

-Description: Zabbix network monitoring solution - web-service

- Zabbix is the ultimate enterprise-level software designed for

- real-time monitoring of millions of metrics collected from tens of

- thousands of servers, virtual machines and network devices.

- .

- This package provides web servce for performing various tasks using headless web browser.

-

-




 Comments   
Comment by Ivan Prokudin [ 2022 Sep 18 ]

I'm using this command to build zabbix packages:

debuild --prepend-path=/usr/local/go-1.17.3/bin -uc -us -b

Comment by Jurijs Klopovskis [ 2022 Sep 19 ]

We are actually releasing a single *.debian.tar.xz file for both i368 and amd64. It seems that 32bit version, that has no entry for agent2 in control file, overrides the 64 bit version, where it is present. Probably some unnecessary optimization on my part.

I'll see what I can do.

Comment by Jurijs Klopovskis [ 2022 Sep 21 ]

Fixed in 6.0.9, 6.2.3 and future releases for other versions.

Comment by Jurijs Klopovskis [ 2022 Sep 22 ]

Due to my change, the 6.0.9 and 6.2.3 packages for some debian and ubuntu systems were not built at all. Investigating an issuing an update.

Done.

Generated at Fri May 23 08:52:20 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.