Package: approx
Version: 2.06
Severity: important

Hello.

I just installed a backport of approx 2.06 in sarge (compiled against
backports of all build-dependencies from sid, except libpcre-ocaml-dev),
and to my surprise approx wants to delete all the existing source
packages in my existing cache.

To reproduce, let's start with an empty cache and download a source
package (this on sid, btw):

% sudo aptitude install approx
% sudo vi /etc/approx/approx.conf # uncomment 'debian'

% wget -qO/dev/null 
http://localhost:9999/debian/dists/sid/main/source/Sources.bz2
% find /var/cache/approx -type f
/var/cache/approx/debian/dists/sid/main/source/Sources.bz2

% wget -qO/dev/null 
http://localhost:9999/debian/pool/main/s/sl/sl_3.03{.orig.tar.gz,-14.dsc,-14.diff.gz}
% find /var/cache/approx -type f -ls
 17935    4 -rw-r--r--   1 approx   root          552 Jul 17  2004 
/var/cache/approx/debian/pool/main/s/sl/sl_3.03-14.dsc
 17936    4 -rw-r--r--   1 approx   root         3776 Jun 10  1999 
/var/cache/approx/debian/pool/main/s/sl/sl_3.03.orig.tar.gz
 17943   12 -rw-r--r--   1 approx   root        12068 Jul 17  2004 
/var/cache/approx/debian/pool/main/s/sl/sl_3.03-14.diff.gz
 16893 1173 -rw-r--r--   1 approx   root      1197136 Jun 20 22:04 
/var/cache/approx/debian/dists/sid/main/source/Sources.bz2

% gc_approx -k
/var/cache/approx/debian/pool/main/s/sl/sl_3.03.orig.tar.gz
/var/cache/approx/debian/pool/main/s/sl/sl_3.03-14.diff.gz
/var/cache/approx/debian/pool/main/s/sl/sl_3.03-14.dsc

Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                          Listening to: Franz Ferdinand - Do You Want To


Reply via email to