Package: approx
Followup-For: Bug #460428

I have a supplementary wishlist. I don't want only a fallback for another
mirror of the same (partial) archive. Let me explain my need.

I use approx to cache access to the Kali repositories. Kali is based on
Debian and reuses the same .deb/.dsc etc. I do have a local Debian mirror
and 95% of my downloads from Kali do in fact download some files that
I already have locally in my Debian mirror.

It would be nice if approx could just download everything from "dists"
on the Kali servers but lookup all files on the local mirror when they
are there.

Here's what it could look like in approx.conf:

kali [restrict_to=pool ignore-404] file:///srv/mirror/debian 
http://http.kali.org

When using the "file" URL, approx would not cache the file, instead it
would just use the local file. With a remote URL, it would just download
it.

Cheers,

-- System Information:
Debian Release: jessie/sid
  APT prefers squeeze-lts
  APT policy: (500, 'squeeze-lts'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to