Re: Fehlermeldung apt-file
Wie sieht denn /etc/apt/sources.list aus? Ich vermute mal eher da einen
Syntaxfehler als in den Programmen.
"man sources.list" sollte weiterhelfen.
Stefan
Am Donnerstag, 16. Mai 2002 20:15 schrieb Gerhard Olejniczak:
> Hallo,
>
> wenn ich "apt-file search foo" mache, erhalte ich folgende Fehlermeldung:
>
> Can't locate object method "host" via package "URI::_foreign" (perhaps you
> forgot to load "URI::_foreign"?) at /usr/bin/apt-file line 225.
>
> Ich habe apt-file 0.2.3-4.
>
> Weiß jemand, ob mir da was fehlt?
>
> Zeile 223 ff in /usr/bin/apt-file sehen so aus:
>
> foreach (@$uris) {
> my $uri = URI->new ("$_/Contents-$Conf{'arch'}.gz");
> my $file = $Conf{'cache'} . "/" . &uri_escape($uri->host()
> . dirname($uri->path()). "/"
> .basename($uri->path()));
> if (-f $file) {
> print "Searching in `$file'\n" if $Conf{'verbose'};
> open(GREP, "zgrep $options $file |")
>
>
> MfG
--
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)
Reply to: