[ZBX-17243] deb Dependencies Missing, breaking on new install or autoremove Created: 2020 Jan 30  Updated: 2024 Apr 10  Resolved: 2020 Jan 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Packages (C)
Affects Version/s: 4.4.5
Fix Version/s: 5.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Max Ried Assignee: Jurijs Klopovskis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:
  1. apt-cache policy zabbix-frontend-php
    zabbix-frontend-php:
    Installed: 1:4.4.5-1+buster
    [...]
  1. cat /etc/debian_version
    10.2

Issue Links:
Duplicate
is duplicated by ZBX-17244 HTTP ERROR 500 After the upgrade from... Closed
Team: Team I
Sprint: Sprint 60 (Jan 2020)

 Description   

Steps to reproduce:

  • Upgrade to latest zabbix-frontend-php
  • apt-get autoremove

Result:

**apt removes dependencies for  zabbix-frontend-php which breaks it. This happens, because the released deb misses some dependencies:

 

dpkg-deb --field zabbix-frontend-php_4.4.4-1+buster_all.deb grep "^Depends: "Depends:php-mbstring, php-bcmath, php-xml, php5-mysql | php5-mysqlnd | php-mysql | php5-pgsql | php-pgsql, php5-gd | php-gd, php5-ldap | php-ldap, ttf-dejavu-core | ttf-japanese-gothic 

$ dpkg-deb --field zabbix-frontend-php_4.4.5-1+buster_all.deb grep "^Depends: "Depends: php5-mysql | php5-mysqlnd | php-mysql | php5-pgsql | php-pgsql, php5-gd | php-gd, php5-ldap | php-ldap, ttf-dejavu-core | ttf-japanese-gothic

These dependencies are actual dependencies, and their removal breaks the web frontend.

Expected:
Working web frontend.



 Comments   
Comment by Jurijs Klopovskis [ 2020 Jan 30 ]

[email protected], Thanks for your report.

Building package update.

Comment by Jurijs Klopovskis [ 2020 Jan 30 ]

Current workaround is to install php-mbstring, php-bcmath and php-xml manually.

Comment by Jurijs Klopovskis [ 2020 Jan 30 ]

Released 4.0.17-2 and 4.4.5-2 for debian/ubuntu.
Please update.

Comment by Max Ried [ 2020 Jan 30 ]

I can confirm it's working.

Generated at Sun Mar 16 03:34:42 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.