>
> > And I cannot add hdlist because I keep getting zero depslist for
cooker.
>
> Same problem as before ?
>
Yes. Here is what I get with debugger.
After first read_hdlist in update_media I get normal provides and info.
In call to $urpm->{params}->keep_only_cleaned_provides_files() @keeplist
is set to
DB<10> x @keeplist
0 '/'
1 '/etc/rc.d/init.d'
2 '/etc/init.d'
3 '/bin/chmod'
4 '/sbin/rmt'
5 '/usr/sbin/ttmkfdir'
6 '/sbin/fuser'
7 '/bin/awk'
8 '/usr/sbin/rdev'
9 '/usr/lib/autoconf/ac-wrapper.pl'
10 '/usr/bin/f77'
11 '/usr/sbin/chkfontpath'
12 '/usr/bin/ssh'
13 '/sbin/sash'
14 '/usr/bin/mktexlsr'
15 '/usr/bin/env'
16 '/bin/grep'
17 '/usr/sbin/useradd'
18 '/usr/X11R6/bin/xset'
19 '/bin/mkdir'
20 '/bin/cat'
21 '/bin/ps'
22 '/usr/bin/sudo'
23 '/bin/rm'
24 '/etc/X11/fs/config'
25 '/bin/sh'
26 '/bin/su'
27 '/usr/sbin/arping'
28 '/bin/bash'
29 '/bin/gzip'
30 '/usr/X11R6/bin/mkfontdir'
31 '/sbin/ldconfig'
32 '/lib/cpp'
33 '/bin/sed'
34 '/etc/pam.d/system-auth'
35 '/usr/X11R6/bin/xtest'
36 '/usr/sbin/update-alternatives'
37 '/usr/bin/play'
38 '/etc/services'
39 '/usr/sbin/groupadd'
40 '/usr/bin/killall'
41 '/sbin/installkernel'
42 '/sbin/service'
43 '/sbin/ip'
44 '/usr/bin/perl'
45 '/usr/X11R6/bin/xsetbg'
46 '/sbin/mkbootdisk'
47 '/sbin/pidof'
48 '/bin/touch'
49 '/usr/sbin/utempter'
50 '/usr/bin/bzip2'
51 '/usr/X11R6/bin/xauth'
52 '/bin/egrep'
53 '/sbin/chkconfig'
54 '/etc/mime.types'
55 '/usr/bin/host'
56 '/usr/bin/run-parts'
57 '/usr/bin/texhash'
58 '/etc/cron.weekly/makewhatis-de.cron'
59 '/sbin/install-info'
60 '/usr/bin/playmidi'
61 '/usr/bin/cmp'
62 '/usr/bin/tr'
63 '/usr/bin/wc'
64 '/bin/gawk'
65 '/bin/mktemp'
after this it does
$params->{info} = {};
$params->{depslist} = [];
$params->{provides} = {}; @{$params->{provides}}{@keeplist} = ();
Unfortunately, when reading hdlist the second time no information is
read:
DB<21> c 727
reading hdlist file [/var/lib/urpmi/hdlist.cooker.cz]
Debugged program terminated. Use q to quit or R to restart,
use O inhibit_exit to avoid stopping after program termination,
h q, h R or h O to get additional info.
Warning: locale not supported by C library, locale unchanged
urpm::update_media(/usr/lib/perl5/site_perl/5.6.1/i386-linux/urpm.pm:727
):
727: if ($options{depslist}) {
DB<22> x $urpm->{params}->{provides}
0 HASH(0x84f4e1c)
'/' => undef
'/bin/awk' => undef
'/bin/bash' => undef
'/bin/cat' => undef
'/bin/chmod' => undef
'/bin/egrep' => undef
'/bin/gawk' => undef
'/bin/grep' => undef
'/bin/gzip' => undef
'/bin/mkdir' => undef
'/bin/mktemp' => undef
'/bin/ps' => undef
'/bin/rm' => undef
'/bin/sed' => undef
'/bin/sh' => undef
'/bin/su' => undef
'/bin/touch' => undef
'/etc/X11/fs/config' => undef
'/etc/cron.weekly/makewhatis-de.cron' => undef
'/etc/init.d' => undef
'/etc/mime.types' => undef
'/etc/pam.d/system-auth' => undef
'/etc/rc.d/init.d' => undef
'/etc/services' => undef
'/lib/cpp' => undef
'/sbin/chkconfig' => undef
'/sbin/fuser' => undef
'/sbin/install-info' => undef
'/sbin/installkernel' => undef
'/sbin/ip' => undef
'/sbin/ldconfig' => undef
'/sbin/mkbootdisk' => undef
'/sbin/pidof' => undef
'/sbin/rmt' => undef
'/sbin/sash' => undef
'/sbin/service' => undef
'/usr/X11R6/bin/mkfontdir' => undef
'/usr/X11R6/bin/xauth' => undef
'/usr/X11R6/bin/xset' => undef
'/usr/X11R6/bin/xsetbg' => undef
'/usr/X11R6/bin/xtest' => undef
'/usr/bin/bzip2' => undef
'/usr/bin/cmp' => undef
'/usr/bin/env' => undef
'/usr/bin/f77' => undef
'/usr/bin/host' => undef
'/usr/bin/killall' => undef
'/usr/bin/mktexlsr' => undef
'/usr/bin/perl' => undef
'/usr/bin/play' => undef
'/usr/bin/playmidi' => undef
'/usr/bin/run-parts' => undef
'/usr/bin/ssh' => undef
'/usr/bin/sudo' => undef
'/usr/bin/texhash' => undef
'/usr/bin/tr' => undef
'/usr/bin/wc' => undef
'/usr/lib/autoconf/ac-wrapper.pl' => undef
'/usr/sbin/arping' => undef
'/usr/sbin/chkfontpath' => undef
'/usr/sbin/groupadd' => undef
'/usr/sbin/rdev' => undef
'/usr/sbin/ttmkfdir' => undef
'/usr/sbin/update-alternatives' => undef
'/usr/sbin/useradd' => undef
'/usr/sbin/utempter' => undef
DB<23> x $urpm->{params}->{info}
0 HASH(0x91e8994)
empty hash
Which well explains why I get empty depslist after that.
Comments?
-andrej
P.S. "locale not supported" comes from xterm. Do not know why