[php-maint] Bug#833543: Bug#833543: Error in package dependencies results in regular cron email alerts

Ondřej Surý ondrej at sury.org
Sun Aug 7 19:11:46 UTC 2016

Control: severity -1 wishlist


thanks for the bug report. This cannot be solved by adding dependency
because it would create a circular dependency
(php5-cli->php5-common->php5-cli), but I could probably check whether
the interpreter is present and exit the script if it isn't.

Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Potřeby pro pečení chleba
všeho druhu

On Fri, Aug 5, 2016, at 20:26, deb at gi2.herzkes.de wrote:
> Package: php5-common
> Version: 5.6.24+dfsg-0+deb8u1
> After uninstalling apache and most php packages from an installation, I
> get an email every 30 minutes from cron:
> From: root@[...] (Cron Daemon)
> To: root@[...]
> Subject: Cron <root@[...]>   [ -x /usr/lib/php5/sessionclean ] &&
> /usr/lib/php5/sessionclean
> /usr/lib/php5/sessionclean: 34: /usr/lib/php5/sessionclean: php5: not
> found
> The leftover php packages are:
> $ dpkg -l *php* | grep ^ii
> ii  php5-apcu                 4.0.7-1              amd64        APC User
> Cache for PHP 5
> ii  php5-common               5.6.24+dfsg-0+deb8u1 amd64        Common
> files for packages built from the php5 source
> The installation has never had any package conflicts.
> This looks to me like the php5-common debian package requires an
> executable php5 to be present, but neither provides this executable nor
> depends on another package that provides it.
> Of course my personal solution is to also uninstall php5-common, but I
> think the missing dependency here should be addressed.
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint

More information about the pkg-php-maint mailing list