Debian Bug report logs -
#794029
php5-cli doesn't satisfy php dependency for php5 metapackage
Reported by: Nick Adams <nick.adams98@gmail.com>
Date: Wed, 29 Jul 2015 23:03:02 UTC
Severity: normal
Found in version php5/5.6.9+dfsg-0+deb8u1
Done: Ondřej Surý <ondrej@sury.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#794029; Package php5.
(Wed, 29 Jul 2015 23:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Nick Adams <nick.adams98@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Wed, 29 Jul 2015 23:03:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5
Version: 5.6.9+dfsg-0+deb8u1
The metapackage `php5` has a number of options to supply php but
php5-cli is not one of those. On a host that doesn't require a web
server, this metapackage seems to require that one be installed.
Adding php5-cli to the php5 package dependency options would fix this.
Reply sent
to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility.
(Thu, 30 Jul 2015 07:45:15 GMT) (full text, mbox, link).
Notification sent
to Nick Adams <nick.adams98@gmail.com>:
Bug acknowledged by developer.
(Thu, 30 Jul 2015 07:45:15 GMT) (full text, mbox, link).
Message #10 received at 794029-done@bugs.debian.org (full text, mbox, reply):
That's intentional as PHP is a language for web servers. Just don't
install the meta package if you don't want a PHP for a web server.
Cheers,
Ondrej
On Thu, Jul 30, 2015, at 01:01, Nick Adams wrote:
> Package: php5
> Version: 5.6.9+dfsg-0+deb8u1
>
> The metapackage `php5` has a number of options to supply php but
> php5-cli is not one of those. On a host that doesn't require a web
> server, this metapackage seems to require that one be installed.
>
> Adding php5-cli to the php5 package dependency options would fix this.
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
--
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#794029; Package php5.
(Thu, 30 Jul 2015 08:27:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "Thijs Kinkhorst" <thijs@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 30 Jul 2015 08:27:03 GMT) (full text, mbox, link).
Message #15 received at 794029@bugs.debian.org (full text, mbox, reply):
On Thu, July 30, 2015 01:01, Nick Adams wrote:
> The metapackage `php5` has a number of options to supply php but
> php5-cli is not one of those. On a host that doesn't require a web
> server, this metapackage seems to require that one be installed.
>
> Adding php5-cli to the php5 package dependency options would fix this.
What is the use case of this? The packages currently depending on the php5
meta package do so because they are applications that need to be run in a
webserver context. Otherwise they'd depend on php5-cli directly.
Cheers,
Thijs
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#794029; Package php5.
(Thu, 30 Jul 2015 10:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Nick Adams <nick.adams98@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 30 Jul 2015 10:09:03 GMT) (full text, mbox, link).
Message #20 received at 794029@bugs.debian.org (full text, mbox, reply):
Hi Thijs and Ondrej,
Thanks for your replies.
We are using php5-cli without a webserver for long running daemons and
scripts. I certainly understand that this would be a far from normal
use case but it still certainly is a valid use case.
On further inspection, it appears that one of the PHP packages we use,
php-auth-sasl, has the dependency of php5 which is in-turn, pulling in
libapache2-mod-php5. I'm guessing that this dependency should probably
be changed so that it refers to php5-common instead.
php-mail-mimedecode looks to have the same issue.
Regards,
Nick.
On 30 July 2015 at 18:24, Thijs Kinkhorst <thijs@debian.org> wrote:
> On Thu, July 30, 2015 01:01, Nick Adams wrote:
>> The metapackage `php5` has a number of options to supply php but
>> php5-cli is not one of those. On a host that doesn't require a web
>> server, this metapackage seems to require that one be installed.
>>
>> Adding php5-cli to the php5 package dependency options would fix this.
>
> What is the use case of this? The packages currently depending on the php5
> meta package do so because they are applications that need to be run in a
> webserver context. Otherwise they'd depend on php5-cli directly.
>
>
> Cheers,
> Thijs
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#794029; Package php5.
(Thu, 30 Jul 2015 11:15:17 GMT) (full text, mbox, link).
Acknowledgement sent
to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 30 Jul 2015 11:15:18 GMT) (full text, mbox, link).
Message #25 received at 794029@bugs.debian.org (full text, mbox, reply):
Hi Nick,
On Thu, Jul 30, 2015, at 12:05, Nick Adams wrote:
> Hi Thijs and Ondrej,
>
> Thanks for your replies.
>
> We are using php5-cli without a webserver for long running daemons and
> scripts. I certainly understand that this would be a far from normal
> use case but it still certainly is a valid use case.
That's certainly fine.
> On further inspection, it appears that one of the PHP packages we use,
> php-auth-sasl, has the dependency of php5 which is in-turn, pulling in
> libapache2-mod-php5. I'm guessing that this dependency should probably
> be changed so that it refers to php5-common instead.
> php-mail-mimedecode looks to have the same issue.
Please fill a bug against php-auth-sasl since it should not depend on
php5; php-pear would be probably best choice to depend on.
Meanwhile - installing php5-cgi would be probably a best workaround, so
it doesn't pull apache2 in.
Cheers,
--
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 28 Aug 2015 07:27:34 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 01:19:15 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.