Package: apticron
Version: 1.1.42
Severity: normal
Tags: patch

Hello,

With DIFF_ONLY set apticron reports that there are X# packages previously
reported to you pending an upgrade even if an apt-get dist-upgrade has been run
in the period between the current and previous apticron runs.

Apticron should only report those packages that are still pending an upgrade.

Regards,
Dermot



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'stable'), (550, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apticron depends on:
ii  apt                0.8.0                 Advanced front-end for dpkg
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  cron               3.0pl1-114            process scheduling daemon
ii  debconf [debconf-2 1.5.35                Debian configuration management sy
ii  ucf                3.0025+nmu1           Update Configuration File: preserv

Versions of packages apticron recommends:
ii  apt-listchanges               2.85.3     package change history notificatio
ii  iproute                       20100519-3 networking and traffic control too

apticron suggests no packages.

-- debconf information:
  apticron/notification: root
--- apticron    2010-08-30 03:03:39.000000000 +0100
+++ apticron.modified   2010-09-15 02:03:13.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 -F 
"$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 \

Reply via email to