Bug#319339: apt: Incorrect documentation in /etc/cron.daily/apt
Package: apt
Version: 0.6.38
Severity: minor
Tags: patch
The description of the various parameters in /etc/cron.daily/apt says that you
can set a variable called "APT::Periodic::AutocleanInterval", but the code
actually looks for a variable in apt.conf called "APT::Periodic::Autoclean".
Here's the patch:
--- apt 2005-07-02 21:24:46.000000000 -0400
+++ apt.fixed 2005-07-21 07:14:02.000000000 -0400
@@ -139,7 +139,7 @@
DownloadUpgradeableInterval=0
eval $(apt-config shell UpdateInterval APT::Periodic::Update-Package-Lists DownloadUpgradeableInterval APT::Periodic::Download-Upgradeable-Packages)
AutocleanInterval=$DownloadUpgradeableInterval
-eval $(apt-config shell AutocleanInterval APT::Periodic::Autoclean)
+eval $(apt-config shell AutocleanInterval APT::Periodic::AutocleanInterval)
# laptop check, on_ac_power returns:
# 0 (true) System is on mains power
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.19
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.1-2 GCC support library
ii libstdc++5 1:3.3.6-7 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
--
Neil Roeth
Reply to: