> 
> I'll try to reproduce here first, else you can try to invoke "perl
-de1"
> and
> issue command "x <perl code>" on the debugger to do as urpmi.addmedia
do
> (or
> urpmi.update do too), for that look directly in urpmi.* code.
> 

Unfortunately I do not understand how perl -de1 works. Here

[root@cooker root]# perl -de1 /usr/sbin/urpmi.addmedia contribs
file://cooker/i5
86/Mandrake/RPMS2 with ../base/hdlist2.cz
Default die handler restored.

Loading DB routines from perl5db.pl version 1.07
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1):   1
  DB<1> x { \
  cont: use urpm; \
  cont: import urpm _; \
  cont: $urpm->read_config; \
  cont:
$urpm->add_medium("coontribs","file://cooker/i586/Mandrake/RPMS2","../ba
se/hdlist2.cz",update=>0); \
  cont: }
Can't call method "read_config" on an undefined value at (eval
5)[/usr/lib/perl5/5.6.1/perl5db.pl:1521] line 5.
  DB<2>

Reply via email to