On Wed, Jan 24, 2007 at 01:35:20PM +0100, Lucas Nussbaum wrote:
> debsecan has a Recommends on cron, but if cron is not installed, it
> fails to configure like this:

> Setting up debsecan (0.4.3.4) ...
> /usr/sbin/debsecan-create-cron: line 63: /etc/cron.d/debsecan: No such
> file or directory
> dpkg: error processing debsecan (--configure):
>  subprocess post-installation script returned error exit status 1
>  Errors were encountered while processing:
>   debsecan
>   E: Sub-process /usr/bin/dpkg returned an error code (1)

> I would suggest:
> - either check if /etc/cron.d exists in postinst, and display an
>   appropriate message.
> - or depends on cron.

Better than either of these would be to ship the /etc/cron.d directory in
the package.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to