Eric Cooper: >> approx-gc sometimes removes good packages. That is, those listed in some >> Packages file and having correct checksum and size. For example, the >> following few commands demonstrate its desire to remove perl-modules. >> [...] >> ait:~# apt-cache policy perl-modules >> perl-modules: >> Installed: 5.10.1-13 >> Candidate: 5.10.1-13 >> Version table: >> 5.12.1-1 0 >> 1 http://ftp.fi.debian.org experimental/main Packages >> *** 5.10.1-13 0 >> 500 http://ftp.fi.debian.org unstable/main Packages >> 100 /var/lib/dpkg/status >> 5.10.1-12 0 >> 500 http://ftp.fi.debian.org testing/main Packages >> 5.10.0-19lenny2 0 >> 500 http://ftp.fi.debian.org stable/main Packages
EC> The information that apt-cache uses is not the same as what approx EC> uses, so I can't tell if there is a bug here. EC> Approx uses the Release and Packages files in its own cache. So can EC> you please check the version, size, and checksum information that are EC> listed for the perl-modules package in EC> /var/cache/approx/debian/dists/unstable/main/binary-i386/Packages.gz There was no such file, only Packages.diff subdirectory. I removed Packages file found in /var/lib/apt/lists/ and re-fetched it anew. After this approx-gc doesn't try to remove perl-modules (and other packages too). It is a new installation of approx, so probably because of this Packages.gz for unstable wasn't fetched through it. Thank you for this hint! -- Dmitri Paduchikh -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

