[php-maint] Fwd: [dtcdev] find: invalid predicate `-delete'
ondrej at debian.org
Fri Nov 4 09:09:44 UTC 2011
what is the output of /usr/lib/php5/maxlifetime ? (Seems like it's
empty on your system)
On Thu, Nov 3, 2011 at 22:11, Dominique <deefactorial at gmail.com> wrote:
> Thomas suggested I send an email to you about my question.
> ---------- Forwarded message ----------
> From: Thomas Goirand <thomas at goirand.fr>
> Date: Thu, Nov 3, 2011 at 1:02 PM
> Subject: Re: [dtcdev] find: invalid predicate `-delete'
> To: dtcdev at gplhost.sg
> Cc: Dominique <deefactorial at gmail.com>
> On 11/04/2011 01:44 AM, Dominique wrote:
>> I keep getting this error message emailed to me and my email service
>> provider is thinking that I'm spamming them because it sends it every
>> time the cron job is run.
>> Subject: Cron <root at mx> [ -x /usr/lib/php5/maxlifetime ] && [ -d
>> /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin
>> +$(/usr/lib/php5/maxlifetime) -delete (failed)
>> find: invalid predicate `-delete'
>> root at mx:~# which find
>> root at mx:~# find --version
>> GNU find version 4.1
>> root at mx:~# apt-cache show findutils
> Package: findutils
> Essential: yes
> Priority: required
> Section: utils
> Installed-Size: 1704
> Architecture: i386
> Source: findutils (4.4.2-1)
> Version: 4.4.2-1+b1
> Depends: dpkg (>= 1.15.4) | install-info
> Pre-Depends: libc6 (>= 2.4)
> Suggests: mlocate | locate | slocate
> Filename: pool/main/f/findutils/findutils_4.4.2-1+b1_i386.deb
> Size: 602114
> Description: utilities for finding files--find, xargs
> GNU findutils provides utilities to find files meeting specified
> criteria and perform various actions on the files which are found.
> This package contains 'find' and 'xargs'; however, 'locate' has
> been split off into a separate package.
> Homepage: http://savannah.gnu.org/projects/findutils/
> Tag: implemented-in::c, interface::commandline, role::program,
> scope::utility, use::searching, works-with::file
>> The man file says that it supports -delete
>> I have searched the internet to try and find a solution but I'm at a loss.
>> Please help.
> What's above has nothing to do with DTC. I would suggest you to write to
> pkg-php-maint at lists.alioth.debian.org which takes care of the packaging
> of PHP in Debian.
> I know there has been some work about that (I remember reading it in
> this list), but I can't remember what was the final solution which was a
> bit complicated. Maybe having a look into the current SID package will help.
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
Ondřej Surý <ondrej at sury.org>
More information about the pkg-php-maint