Re: apt/apt-proxy: tilde in sources.list
Hallo Jörg,
Am Samstag, 23. November 2002 10:11 schrieb Jörg Schütter:
> On Fri, 22 Nov 2002 23:46:36 +0100
>
> andreas well <nc-wellan@netcologne.de> wrote:
> > Hallo Liste,
> >
> > ich wollte gerne ein apt-proxy backend für people.debian.org
> > anlegen in dem ich die Nutzerverzeichnisse gemeinsam unterbringen
> > kann und hab dazu folgende Einträge gemacht:
> >
> > ###apt-proxy.conf###
> > add_backend /debian-people/ \
> > $APT_PROXY_CACHE/debian-people/ \
> > http://people.debian.org/
> >
> > ###sources-list###
> > deb http://127.0.0.1:9999/debian-people/ ~blade/woody/i386/
> >
> > aber leide scheint apt ein Problem mit der tilde zu haben:
>
> Versuch mal, da es sich ja um ein Teil einer URL handelt, dieses
> Zeichen zu quoten (~ -> %7E).
Danke ersteinmal für Deine antwort, ich habe daraufhin noch einmal
verschiedene Varianten durchgespielt
1. Variante
###apt-proxy.conf###
add_backend /debian-people/ \
$APT_PROXY_CACHE/debian-people/ \
http://people.debian.org/
###sources-list###
deb http://127.0.0.1:9999/debian-people/ %7Eblade/woody/i386/
# und
deb http://127.0.0.1:9999/debian-people/ %7eblade/woody/i386/
bringen beide
~$ apt-get update
Failed to fetch
http://127.0.0.1:9999/debian-people/7eblade/woody/i386/Packages 404
directory does not exist on any server
Failed to fetch
http://127.0.0.1:9999/debian-people/7eblade/woody/i386/Release
Error reading from server - read (104 Connection reset by peer)
2. Variante
###sources-list###
deb http://people.debian.org/%7Eblade/woody/i386/
# und
deb
# und
deb http://people.debian.org/~blade/woody/i386/
funktionieren alle drei
3. Variante
###sources-list###
deb http://127.0.0.1:9999/debian-people/ woody/i386/
###apt-proxy.conf###
add_backend /debian-people/ \
$APT_PROXY_CACHE/debian-people/ \
http://people.debian.org/%7Eblade/
# und
http://people.debian.org/%7eblade/
# und
http://people.debian.org/~blade/
funktionieren auch alle
Also scheinen apt und auch apt-proxy generell ja keine Probleme mit der
tilde oder mit deren Quotierung zu haben, nur warum funktioniert dann
das Zusammenspiel der beiden nicht?
gruß
andreas
--
debian-faq's
http://channel.debian.de/faq
debian Anwenderhandbuch:
http://www.openoffice.de/linux/buch
Reply to: