Package: apt Version: 0.9.9.1 Severity: minor Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer, In Ubuntu, the attached patch was applied to fix a typo in the cron.daily script. Apparently in the past, the MinAgeSec variable was renamed to just MinAge, but a couple debug echos didn't follow the change. Patch by TJ Guthrie. Thanks for considering it. -- System Information: Debian Release: wheezy/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.12.0-2-generic (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru apt-0.9.9.1~ubuntu4/debian/apt.cron.daily apt-0.9.9.1~ubuntu5/debian/apt.cron.daily --- apt-0.9.9.1~ubuntu4/debian/apt.cron.daily 2013-07-10 11:04:41.000000000 -0400 +++ apt-0.9.9.1~ubuntu5/debian/apt.cron.daily 2013-11-22 12:04:15.000000000 -0500 @@ -197,11 +197,11 @@ delta=$(($now-$ctime)) fi if [ $delta -le $MinAge ]; then - debug_echo "skip remove by archive size: $file, delta=$delta < $MinAgeSec" + debug_echo "skip remove by archive size: $file, delta=$delta < $MinAge" break else # delete oldest file - debug_echo "remove by archive size: $file, delta=$delta >= $MinAgeSec (sec), size=$size >= $MaxSize" + debug_echo "remove by archive size: $file, delta=$delta >= $MinAge (sec), size=$size >= $MaxSize" rm -f $file fi fi