Your message dated Mon, 16 Oct 2006 09:32:07 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#380368: approx: bogus mapping to local repository name
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
On Sun, Oct 15, 2006 at 09:21:19PM +0200, Tino Keitel wrote:
> I think this bug can be closed, maybe your explanation above could be
> added to the manpage to help other people who try to understand the
> approx behaviour.

Thanks, I'll do that.

-- 
Eric Cooper             e c c @ c m u . e d u

--- End Message ---

Reply via email to