<div dir="ltr"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div>Ok. That looks like it works.</div><div><br></div><div>It simply would never have occurred to me to add php to php-fpm.</div><div><br></div><div>Thanks for the quick response.</div><div><br></div><div>Philippe</div><div><br></div><div><br></div><div>The trouble with common sense is that it is so uncommon.<br><Anonymous></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 20, 2022 at 3:09 PM Debian Bug Tracking System <<a href="mailto:owner@bugs.debian.org" target="_blank">owner@bugs.debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This is an automatic notification regarding your Bug report<br>
which was filed against the roundcube-core package:<br>
<br>
#1015762: roundcube-core: Cannot be installed without pulling apache<br>
<br>
It has been closed by Guilhem Moulin <<a href="mailto:guilhem@debian.org" target="_blank">guilhem@debian.org</a>>.<br>
<br>
Their explanation is attached below along with your original report.<br>
If this explanation is unsatisfactory and you have not received a<br>
better one in a separate message then please contact Guilhem Moulin <<a href="mailto:guilhem@debian.org" target="_blank">guilhem@debian.org</a>> by<br>
replying to this email.<br>
<br>
<br>
-- <br>
1015762: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015762" rel="noreferrer" target="_blank">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015762</a><br>
Debian Bug Tracking System<br>
Contact <a href="mailto:owner@bugs.debian.org" target="_blank">owner@bugs.debian.org</a> with problems<br>
<br><br><br>---------- Forwarded message ----------<br>From: Guilhem Moulin <<a href="mailto:guilhem@debian.org" target="_blank">guilhem@debian.org</a>><br>To: "Philippe Clérié" <<a href="mailto:pclerie@gmail.com" target="_blank">pclerie@gmail.com</a>>, <a href="mailto:1015762-close@bugs.debian.org" target="_blank">1015762-close@bugs.debian.org</a><br>Cc: <br>Bcc: <br>Date: Wed, 20 Jul 2022 21:04:34 +0200<br>Subject: Re: Bug#1015762: roundcube-core: Cannot be installed without pulling apache<br>On Wed, 20 Jul 2022 at 14:38:08 -0400, Philippe Clérié wrote:<br>
>  * What led up to the situation?<br>
>  Needed to install Roundcube on a machine with PHP-FPM and NGINX<br>
>  already installed.<br>
> <br>
>  * What exactly did you do (or not do) that was effective (or<br>
>    ineffective)?<br>
>  apt install roundcube-core roundcube-sqlite3  <br>
>  <br>
>  * What was the outcome of this action?<br>
>  apt insisted on pulling lib-apache2-mod-php<br>
> <br>
>  * What outcome did you expect instead?<br>
>  Expected apt to skip libapache2-mod-php and just install php<br>
>  dependencies not already installed.<br>
<br>
$ apt show rounducube-core<br>
[…]<br>
Depends: […], libapache2-mod-php | php, […]<br>
Recommends: apache2 | lighttpd | spawn-fcgi | php-fpm | httpd-cgi, […]<br>
[…]<br>
<br>
apache2 is the first alternative so apt will pull it if other alternatives are<br>
not already installed, if you want nginx and php-fpm you can run `apt install<br>
nginx php-fpm php roundcube-core roundcube-sqlite3`.  That's what we do in our<br>
DEP-8 tests: <a href="https://salsa.debian.org/roundcube-team/roundcube/-/blob/debian/1.6_rc+dfsg-2/debian/tests/control#L50" rel="noreferrer" target="_blank">https://salsa.debian.org/roundcube-team/roundcube/-/blob/debian/1.6_rc+dfsg-2/debian/tests/control#L50</a> .<br>
<br>
-- <br>
Guilhem.<br>
<br><br><br>---------- Forwarded message ----------<br>From: "Philippe Clérié" <<a href="mailto:pclerie@gmail.com" target="_blank">pclerie@gmail.com</a>><br>To: Debian Bug Tracking System <<a href="mailto:submit@bugs.debian.org" target="_blank">submit@bugs.debian.org</a>><br>Cc: <br>Bcc: <br>Date: Wed, 20 Jul 2022 14:38:08 -0400<br>Subject: roundcube-core: Cannot be installed without pulling apache<br>Package: roundcube-core<br>
Version: 1.4.13+dfsg.1-1~deb11u1<br>
Severity: normal<br>
<br>
Dear Maintainer,<br>
<br>
*** Reporter, please consider answering these questions, where appropriate ***<br>
<br>
   * What led up to the situation?<br>
   Needed to install Roundcube on a machine with PHP-FPM and NGINX<br>
   already installed.<br>
<br>
   * What exactly did you do (or not do) that was effective (or<br>
     ineffective)?<br>
   apt install roundcube-core roundcube-sqlite3  <br>
<br>
   * What was the outcome of this action?<br>
   apt insisted on pulling lib-apache2-mod-php<br>
<br>
   * What outcome did you expect instead?<br>
   Expected apt to skip libapache2-mod-php and just install php<br>
   dependencies not already installed.<br>
<br>
   I believe that php-fpm should be added to the libapache2-mod-php.<br>
<br>
*** End of the template - remove these template lines ***<br>
<br>
<br>
-- System Information:<br>
Debian Release: 10.12<br>
  APT prefers oldstable<br>
  APT policy: (500, 'oldstable')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 5.17.5-x86_64-linode154 (SMP w/1 CPU core; PREEMPT)<br>
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)<br>
Shell: /bin/sh linked to /bin/dash<br>
Init: systemd (via /run/systemd/system)<br>
<br>
Versions of packages roundcube-core depends on:<br>
pn  dbconfig-common                                        <none><br>
ii  debconf [debconf-2.0]                                  1.5.71+deb10u1<br>
ii  dpkg                                                   1.19.8<br>
pn  libapache2-mod-php | php                               <none><br>
pn  libjs-bootstrap4                                       <none><br>
pn  libjs-codemirror                                       <none><br>
pn  libjs-jquery                                           <none><br>
pn  libjs-jquery-minicolors                                <none><br>
pn  libjs-jquery-ui                                        <none><br>
pn  libjs-jstimezonedetect                                 <none><br>
ii  libmagic1                                              1:5.35-4+deb10u2<br>
pn  php-auth-sasl                                          <none><br>
pn  php-cli                                                <none><br>
pn  php-common                                             <none><br>
pn  php-intl                                               <none><br>
pn  php-json                                               <none><br>
pn  php-mail-mime                                          <none><br>
pn  php-masterminds-html5                                  <none><br>
pn  php-mbstring                                           <none><br>
pn  php-net-sieve                                          <none><br>
pn  php-net-smtp                                           <none><br>
pn  php-net-socket                                         <none><br>
pn  php-pear                                               <none><br>
pn  roundcube-mysql | roundcube-sqlite3 | roundcube-pgsql  <none><br>
ii  ucf                                                    3.0038+nmu1<br>
<br>
Versions of packages roundcube-core recommends:<br>
ii  nginx-full [httpd-cgi]  1.14.2-2+deb10u4<br>
pn  php-gd                  <none><br>
pn  php-pspell              <none><br>
<br>
Versions of packages roundcube-core suggests:<br>
pn  php-crypt-gpg             <none><br>
pn  php-mkopinsky-zxcvbn-php  <none><br>
pn  php-net-ldap2             <none><br>
pn  php-net-ldap3             <none><br>
pn  roundcube-plugins         <none><br>
</blockquote></div>