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