Bug#307942: apt-get autoclean removes valid cache members
Package: apt
Version: 0.5.28.1
Severity: important
apt-get autoclean removes valid cache members
Hi, this is actually a replay of archived bug #180395.
I have just run apt-get autoclean, which blew away 279 packages
(fortunately I had a backup). Of these, most were _NOT_ unavailable, as
apt-cache policy [package] reveals.
I ran the last autoclean and full dist-upgrade just 4 days ago. Now
dist-upgrade wants to upgrade 69 packages, so I would expect not more
than 69 packages to be unavailable and therefore valid candidates for
removal.
I have observed similar behaviour before and since I'm behind a 64 K
dialup, my cache is /precious/ to me. Please let me know what I can do
to help remedy this!
Thanks,
Johannes
-- 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:: "/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";
"APT::Get::Show-Upgraded";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom1/";
-- /etc/apt/preferences --
Package: *
Pin: release a=experimental
Pin-Priority: 101
-- /etc/apt/sources.list --
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
# Uncomment if you want the apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable non-US
##
# ----------------------------------------------------------------
# Lokal gespeicherte Pakete
# ----------------------------------------------------------------
# ----------------------------------------------------------------
# Eintr� f� offiziellen CDs
# ----------------------------------------------------------------
# ----------------------------------------------------------------
# Die offiziellen FTP-Server
# ----------------------------------------------------------------
##
## Debian Sarge
##
#deb cdrom:[Debian GNU/Linux 3.1 _Sarge_ - Unofficial Cebit 2005 Prerelase i386/powerpc/amd64/hppa Binary-1 (20050222)(jj/mh/as/us)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-12 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-11 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-10 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-9 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-8 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-7 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-6 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-5 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-4 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-3 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-2 (20041121)]/ unstable contrib main
deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-1 (20041121)]/ unstable contrib main
deb ftp://ftp.de.debian.org/debian sarge main contrib non-free
##
## Debian Unstable
##
deb ftp://ftp.de.debian.org/debian unstable main contrib non-free
##
## Debian Experimental
##
deb ftp://ftp.de.debian.org/debian ../project/experimental main
##
## gnome26 at alioth
##
deb http://pkg-gnome.alioth.debian.org/debian experimental main
deb-src http://pkg-gnome.alioth.debian.org/debian experimental main
##
## Debian Sarge non-US
##
deb ftp://ftp.de.debian.org/debian-non-US sarge/non-US main contrib non-free
## Debian Unstable non-US
deb ftp://ftp.de.debian.org/debian-non-US unstable/non-US main contrib non-free
# ---------------------------------------------------------------
# Security updates for Debian stable
# ---------------------------------------------------------------
#deb ftp://security.debian.org/debian-security woody/updates main contrib non-free
# ----------------------------------------------------------------
# Testing-Sourcen vom FTP-Server
# ----------------------------------------------------------------
##
## Debian Unstable Sources
##
deb-src ftp://ftp.de.debian.org/debian unstable main contrib non-free
##
## Debian Unstable non-US Sources
##
deb-src ftp://ftp.de.debian.org/debian-non-US unstable/non-US main contrib non-free
##
## Blackdown Java
##
#deb http://localhost:9999/blackdown sid main non-free
deb http://ftp.gwdg.de/pub/languages/java/linux/debian sarge non-free
##
## OpenOffice
##
#deb http://localhost:9999/openoffice testing main contrib
#deb http://openoffice.vpn-junkies.de/openoffice testing main contrib
##
## Debian Anwenderhandbuch
##
#deb http://www.openoffice.de/debian/ stable main
##
## Christian Marillat
##
#deb http://localhost:9999/marillat unstable main
#deb http://marillat.free.fr unstable main
#deb-src http://perso.wanadoo.fr/debian unstable main
deb ftp://ftp.nerim.net/debian-marillat/ testing main
deb-src ftp://ftp.nerim.net/debian-marillat/ unstable main
## my local source tree
#deb file:/home/jr/src/debian/unstable/ ./
#deb file:///home/jr/src/debian/ unstable/
#deb-src file:/home/jr/src/debian/unstable/ ./
#deb-src file:///home/jr/src/debian/ unstable/
##
##
##
#deb http://localhost:9999/jopa/ ./
#deb http://localhost:9999/gtranslator/ ./
##
## Ross Burton
##
#deb http://localhost:9999/burtonini/ unstable/
#deb http://localhost:9999/burtonini/ experimental/
#deb-src http://www.burtonini.com/debian/ unstable/
# deb-src http://www.burtonini.com/debian/ experimental/
deb http://dl.sourceforge.net/sourceforge/jedit ./
deb-src http://dl.sourceforge.net/sourceforge/jedit ./
deb http://deb.opera.com/opera unstable non-free
#deb http://simplygnustep.sourceforge.net/Packages/ binary-i386/
#deb-src http://simplygnustep.sourceforge.net/Packages/ source/
## j2se-package suff
deb http://z42.de debian/
deb-src http://z42.de debian/
#deb http://www.nosid.de/z42 debian/
#deb-src http://www.nosid.de/z42 debian/
#deb http://uid0.tuxfamily.org/debs/unstable/ ./
#deb-src http://uid0.tuxfamily.org/debs/unstable/ ./
## f�nos Gnome-session/gdm
#deb http://monkey-bubble.tuxfamily.org/ ./
deb http://www.katzien.de/debian/opera ./
deb-src http://www.katzien.de/debian/opera ./
## GNUCash
deb http://people.debian.org/~tviehmann/debian/ unstable/
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-12 GCC support library
ii libstdc++5 1:3.3.5-12 The GNU Standard C++ Library v3
-- no debconf information
Reply to: