Sorry, The patch should probably be "grep -xF" instead of "grep -F"
Regards, Dermot
--- apticron 2010-08-30 03:03:39.000000000 +0100 +++ apticron.modified 2010-09-15 04:19:03.000000000 +0100 @@ -209,7 +209,7 @@ done if [ "$DIFF_ONLY" = "1" ] && [ -e "$LAST_RUN_FILE" ]; then - echo -e "\n(there are other `cat $LAST_RUN_FILE |wc -l` packages previously reported to you pending an upgrade!)" + echo -e "\n(there are $(echo "$PKGNAMES" |grep -xF "$LAST_RUN_FILE" |wc -l) other packages previously reported to you pending an upgrade!)" fi MISSING_DEBS=`apt-get -y --ignore-hold --allow-unauthenticated --print-uris dist-upgrade \