Roundcube should not depend on apache

Bug #1377426 reported by Mark Constable on 2014-10-04
This bug affects 4 people
Affects Status Importance Assigned to Milestone
roundcube (Ubuntu)

Bug Description

Using Ubuntu 14.04 and 14.10 where nginx and php5-fpm is already installed roundcube should not depend on apache.

I understand nginx may not be fully supported yet so this is a heads up that this situation will render the roundcube package uninstallable so therefor is a packaging bug.

Expected situation is for roundcube to depend on a virtual httpd package with the option of the current apache auto config or allow an admin to NOT install apache'isms and configure their alternate webserver themselves (if need be).

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in roundcube (Ubuntu):
status: New → Confirmed

This is still a problem (2015-02-24). What is weird is that Apache2 gets installed alongside nginx and of course that breaks as the socket is used and it cannot start.

Uninstalling apache2 apache2-bin and related after roundcube is installed does NOT uninstall roundcube which is great, but shows there's indeed a bug.

IIRC on Debian one had to install php5-cgi to satisfy roundcube and prevent installation of apache.

Jim Bailey (jim-freesolutions) wrote :

Also affects 15.04

Also affects 15.10 beta (as of 2015-10-01).

Apparently fixed in 16.04, but also note in 16.04 PHP is at 7.

$ apt-get install -s roundcube-pgsql nginx php php7.0-fpm
The following NEW packages will be installed:
  nginx nginx-common nginx-core php php-common php-pgsql php7.0 php7.0-cli php7.0-common php7.0-fpm php7.0-json php7.0-opcache php7.0-pgsql php7.0-readline roundcube-pgsql
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.

Philippe Clérié (pclerie) wrote :

Same problem still here on bionic.

Roundcube-core depends on libapache2-mod-php which of course will pull in apache2 no matter what else.

That dependency is listed as libapache2-mod-php or php which seems to be superfluous since PHP is unavoidable anyway.

And while I'm at it there's also a hard dependency on a database driver which is not necessary if I'm not going to use a DB.

Those dependencies really need some work.

I'm still on xenial and using nginx, but now moving away from PHP 7.0 and just having 7.3 (default) and 7.2 installed. Unfortunately, Roundcube *forces* the usage of php7.0-* (and, conversely, when removing php7.0-*, Roundcube gets removed as well).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers