Tags 381122 + patch Thanks
The attached patch replace the $RANDOM and let bash internal functions using external commands in coreutils.
--- debian/cron.daily 2006-06-16 11:05:37.000000000 -0300 +++ debian/rata.daily 2006-08-04 11:17:18.000000000 -0300 @@ -1,9 +1,9 @@ #!/bin/sh RANGE=3600 -number=$RANDOM +number=`od -vAn -N2 -tu4 < /dev/urandom` -let "number %= $RANGE" +number=`expr $number "%" $RANGE` sleep $number test -x /usr/sbin/apticron || exit 0 /usr/sbin/apticron