Package: apt Version: 0.6.42.1 Severity: normal # apt-get autoclean keeps old versions of packages while a newer .deb is in /var/cache/apt/archives/, and the newer version is installed. This seems to happen at least when a CD-ROM source provides the old .deb-s. That would mean that if you install from CD (and keep the CD source), all the packages fetched from the CD would be kept "forever".
If this behavior is considered safety, please make this report a wishlist bug until some way to avoid that is implemented. The following ways come to mind : - Excluding CD-ROM sources - Allowing to make autoclean only keep one .deb for each package. - Never keep a version that would involve downgrading. -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "i386"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Default-Release "testing"; Dir "/"; Dir::State "var/lib/apt/"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::userstatus "status.user"; Dir::State::status "/var/lib/dpkg/status"; Dir::Cache "var/cache/apt/"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt/"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::dpkg "/usr/bin/dpkg"; DPkg ""; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi"; DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10"; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Tools ""; DPkg::Tools::Options ""; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- # deb file:///cdrom/ etch main deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20050827)]/ etch contrib main # deb http://security.debian.org/ testing/updates main contrib deb http://secure-testing.debian.net/debian-secure-testing/ etch/security-updates main contrib non-free deb http://dolly.ift.ulaval.ca/debian/ etch main contrib non-free deb http://dolly.ift.ulaval.ca/debian/ sid main contrib non-free # deb http://gulus.usherbrooke.ca/debian/ testing main contrib non-free #deb-src http://gulus.usherbrooke.ca/debian/ testing main # deb-src http://gulus.usherbrooke.ca/debian/ sid main # deb http://www.backports.org/~mkoch/unstable/ ./ -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-z71a-4 Locale: LANG=fr_CA, LC_CTYPE=fr_CA (charmap=ISO-8859-1) Versions of packages apt depends on: ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libgcc1 1:4.0.2-2 GCC support library ii libstdc++6 4.0.2-2 The GNU Standard C++ Library v3 apt recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]