Bug#430377: Apt uses unbounded space in /var/cache/apt/archives/
Package: apt
Version: 0.6.46.4-0.1
Severity: wishlist
Currently merely running apt-get update;apt-get update can break for example the mail system, because /var/cache/apt/archives/ keeps growing and growing until a user does apt-get clean.
Specific solution addressing problem:
There should be an option in a configuration file with a default value of 3GB s.t. the administrator can put a maximum limit on the size of /var/cache/apt/archives/. In case downloading new packages will otherwise go over this bound as set in the configuration file via a Least Recently Used mechanism packages are deleted from the cache and then the upgrading can proceed.
-- Package-specific info:
-- (/etc/apt/preferences present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2007.02.19-0.1 GnuPG archive keys of the Debian a
ii libc6 2.5-11 GNU C Library: Shared libraries
ii libgcc1 1:4.2-20070609-1 GCC support library
ii libstdc++6 4.2-20070609-1 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: