On Tue, Jun 25, 2002 at 05:03:54PM +0200, Dirk Haage wrote: > Hi Miteinander! > ICh wollte grad mal wieder apt-file updaten und habe gemerkt, dass mit > apt-proxy die Dateien nicht zu bekommen sind. Gibt es da irgendeine > M�glichkeit? Oder muss ich etwa daf�r extra einmal meine sources.list > anpassen?
Es ist ein bug in apt-file - sehe http://bugs.debian.org/128850 Als anhang f�ge ich eine apt-file Patch - du kannst ihn so benutzen: [Anhang als apt-file.patch speichern] # patch /usr/bin/apt-file apt-file.patch Chris
diff -ur apt-file-0.2.5/apt-file apt-file-0.2.5.cjh1/apt-file
--- apt-file-0.2.5/apt-file Thu May 9 15:47:50 2002
+++ apt-file-0.2.5.cjh1/apt-file Thu Jun 6 01:46:29 2002
@@ -189,7 +189,7 @@
foreach (@$urls) {
my $uri = URI->new ("$_/Contents-$Conf{'arch'}.gz");
my %opt = (
- HOST => $uri->host(),
+ HOST => $uri->host_port(),
PATH => dirname($uri->path()),
FILE => basename($uri->path()),
);
@@ -224,7 +224,7 @@
foreach (@$uris) {
my $uri = URI->new ("$_/Contents-$Conf{'arch'}.gz");
- my $file = $Conf{'cache'} . "/" . &uri_escape($uri->host()
+ my $file = $Conf{'cache'} . "/" . &uri_escape($uri->host_port()
. dirname($uri->path()). "/"
.basename($uri->path()));
if (-f $file) {
@@ -256,7 +256,7 @@
foreach (@$uris) {
my $uri = URI->new ("$_/Contents-$Conf{'arch'}.gz");
- my $file = $Conf{'cache'} . "/" . &uri_escape($uri->host()
+ my $file = $Conf{'cache'} . "/" . &uri_escape($uri->host_port()
. dirname($uri->path()). "/"
.basename($uri->path()));
if (-f $file) {
msg11220/pgp00000.pgp
Description: PGP signature

