[ZBX-15941] Removing apache2-bin removes zabbix-frontend-php Created: 2019 Apr 04  Updated: 2020 Jun 15  Resolved: 2020 Jun 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 4.2.0
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Craig Hopkins Assignee: Renats Valiahmetovs (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian GNU/Linux 9.8 (stretch)



 Description   

I'm trying to tidy up my server and went to remove apache2-bin, but it tries to remove zabbix-frontend-php:

# apt remove apache2-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apache2-bin libapache2-mod-php libapache2-mod-php7.0 zabbix-frontend-php

Is something tying the two together? I'm running nginx as my web frontend, not apache. 



 Comments   
Comment by Elina Kuzyutkina (Inactive) [ 2019 Apr 05 ]

Hello Craig,

 

Package: zabbix-frontend-php
Depends: php-mbstring, php-bcmath, php-xml, apache2 | httpd, php5 | libapache2-mod-php | php, php5-mysql | php5-mysqlnd | php-mysql | php5-pgsql | php-pgsql, php5-gd | php-gd, php5-ldap | php-ldap, ttf-dejavu-core | ttf-japanese-gothic

 

zabbix-frontend-php package has apache configuration file as well. The package solves dependencies and set up them. Apparently you installed the package with this dependency.

zabbix-frontend-php has dependencies "httpd" as well. httpd package is virtual package for apache2, lighttpd, nginx, etc. For example you can use 

apt-get install zabbix-frontend-php nginx-light php5-fpm

and "httpd" dependecy will be used and then there will be no apache2 package

Closing as Won't Fix

Regards, Elina

Comment by Craig Hopkins [ 2019 Jul 11 ]

This is still an issue for me. I have to have apache installed because of the dependency on libapache2-mod-php, even though I'm using nginx.

Why is Zabbix dependent on this package?

# apt remove apache2-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apache2-bin libapache2-mod-php libapache2-mod-php7.3 zabbix-frontend-php
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 27.0 MB disk space will be freed.
Comment by Craig Hopkins [ 2019 Dec 06 ]

Looks like someone has fixed this. I've been able to remove apache2 from my machine.

Comment by Renats Valiahmetovs (Inactive) [ 2020 Jun 15 ]

Glad to hear your issue was resolved.

I will be closing this ticket now

Best Regards,

Generated at Tue May 20 08:29:41 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.