Package: approx
Version: 2.06
Severity: normal

Hi,

I set up approx to act as a transparent apt cache, so that all systems can
use the proxy without any proxy settings or modification in the
sources.list.

This fails with the apt repository from www.debian-multimedia.org.

This is the corresponding sources.list entry:

deb http://www.debian-multimedia.org sid main 

It is mentioned in the approx configuration:

marillat        http://www.debian-multimedia.org

Approx runs intro this error:

approx: Connection from 10.100.1.252:52200
approx: Request /dists/sid/Release
approx:   Host: www.debian-multimedia.org
approx:   Connection: keep-alive
approx:   If-Modified-Since: Fri, 28 Jul 2006 09:51:27 GMT
approx:   User-Agent: Debian APT-HTTP/1.3
approx: no remote repository found for dists

I don't know why approx uses "dists" here. My understanding of the map line
is that it looks for a local cache named "marillat".

I played around with another repository and now I'm totally confused.

This is the sources list entry:

deb http://home.arcor.de/scorpidnb/mythtv/current/debian/ sid main

This is the approx.conf entry:

foobar  http://home.arcor.de/scorpidnb

Now I get this error message:

approx:   Host: home.arcor.de
approx:   Connection: keep-alive
approx:   User-Agent: Debian APT-HTTP/1.3
approx: no remote repository found for scorpidnb

What is the real purpose of the first argument in the aprrox.conf config
line? The man page doesn't really explain this enough. I would think that
this is the name of the local cache in /var/cache/approx.

I renamed the foobar into scorbidnb and then it worked. However, it didn't
work for www.debian-multimedia.org. I renamed it into dists, but then approx
still failed because it tries to fetch this URL:

http://www.debian-multimedia.org/sid/main/binary-i386/Packages.gz

This is wrong. The correct URL would be this:

http://www.debian-multimedia.org/dists/sid/main/binary-i386/Packages.gz

So, it misses the "dist" here.

I would be glad if you could clarify the mapping configuration and also make
the mapping somewhat more useable, as it currently doesn't seem to work with
certain repositories.

Regards,
Tino

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages approx depends on:
ii  adduser                       3.95       Add and remove users and groups
ii  bzip2                         1.0.3-3    high-quality block-sorting file co
ii  curl                          7.15.4-1   Get a file from an HTTP, HTTPS, FT
ii  libc6                         2.3.6-16   GNU C Library: Shared libraries
ii  libpcre3                      6.4-2      Perl 5 Compatible Regular Expressi

approx recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to