[php-maint] Fwd: [dtcdev] find: invalid predicate `-delete'
deefactorial at gmail.com
Thu Nov 3 21:11:33 UTC 2011
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
Source: findutils (4.4.2-1)
Depends: dpkg (>= 1.15.4) | install-info
Pre-Depends: libc6 (>= 2.4)
Suggests: mlocate | locate | slocate
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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pkg-php-maint