[Pkg-roundcube-maintainers] Bug#1015762: roundcube-core: Cannot be installed without pulling apache

Philippe Clérié pclerie at gmail.com
Thu Jul 21 12:10:27 BST 2022


I would like to test that.

Meanwhile, assume we have already installed nginx and php-fpm. With the
current version:

$ apt install roundcube-core

will pull in libapache2-mod-php. We know that adding php suppresses that,
and I find that quite surprising.

Your change removes libapache2-mod-php, but there is still that php depend
that will pull it in. I think that adding php would still be necessary if
the above behavior is constant.

On the other hand, if php-fpm is moved from the recommends into the
depends, problem solved: php | php-fpm

Best regards,
Philippe


The trouble with common sense is that it is so uncommon.
<Anonymous>


On Wed, Jul 20, 2022 at 9:52 PM Guilhem Moulin <guilhem at debian.org> wrote:

> On Wed, 20 Jul 2022 at 15:57:08 -0400, Philippe Clérié wrote:
> > Ok. That looks like it works.
> >
> > It simply would never have occurred to me to add php to php-fpm.
>
> Fair enough, it's arguably an issue in APT's dependency resolver:
>
>     $ apt show roundcube-core
>     […]
>     Depends: […], libapache2-mod-php | php, […]
>     Recommends: apache2 | lighttpd | spawn-fcgi | php-fpm | httpd-cgi, […]
>     […]
>
>     $ apt show php
>     […]
>     Depends: php7.4
>     […]
>
>     $ apt show php7.4
>     […]
>     Depends: libapache2-mod-php7.4 | php7.4-fpm | php7.4-cgi, php7.4-common
>     […]
>
>     $ apt show php-fpm
>     […]
>     Depends: php7.4-fpm
>     […]
>
> so in principle `apt install php-fpm roundcube-core` should be enough
> not to pull apache2, but it needs the ‘php’ hint apparently.  I just
> removed the redundant ‘libapache2-mod-php |’ in
>
> https://salsa.debian.org/roundcube-team/roundcube/-/commit/c1853219642ce3b29b5f4e74ef273538d1188b4a
> which seems to be help too.
>
> --
> Guilhem.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-roundcube-maintainers/attachments/20220721/c60590cc/attachment.htm>


More information about the Pkg-roundcube-maintainers mailing list