Stefan Siegel <[EMAIL PROTECTED]> writes:
> Es schrieb Borsenkow Andrej:
>>
>> I try to add new local media. If I manually type in directory nmae it is
>> ignored, like
>>
>> adding medium of type: Local: '/usr/sbin/urpmi.addmedia' '-h' 'test'
>> 'file://export'
>> added medium test
>> unable to access medium "test"
>>
>> If I use file election dialog, "/export" is always appended to selected
>> directory.
>>
>> Not sure I really understand what's going on.
>
> It's a bug in urpmi:
>
> -------------------------------------------------------------------------
> root@menhir[~] urpmi.update plf
> retrieving description file of "plf"...
> curl: (6) Couldn't resolve host 'http'
> retrieving source hdlist (or synthesis) of "plf"...
> curl: (6) Couldn't resolve host 'http'
> ...retrieving failed: curl failed: exited with 6 or signal 0
>
> retrieve of source hdlist (or synthesis) failed
> no hdlist file found for medium "plf"
does this fixed the pb ? (for urpmi not rpmdrake gtk pb)
on urpm.pm
--- urpm.pm.warly Sat Feb 16 19:57:51 2002
+++ urpm.pm Sat Feb 16 19:57:21 2002
@@ -1139,7 +1139,7 @@
#- remove any multiple /s or trailing /.
#- then split all components of pathname.
- $dir =~ s/\/+/\//g; $dir =~ s/\/$//;
+ $dir =~ s/([^:]+:\/)?\/+/$1\//g; $dir =~ s/\/$//;
my @paths = split '/', $dir;
#- reset $dir, recompose it, and clean trailing / added by algorithm.
--
Warly