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

deb at gi2.herzkes.de deb at gi2.herzkes.de
Fri Aug 5 18:26:56 UTC 2016


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.



More information about the pkg-php-maint mailing list