[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debootstrap hangs at libc6.postinst



Hello Olaf,

Check postinst file and look for Black magic... that is the problem.
If you solve it, please tell on list.

Cheers

2008/6/2 Olaf Lüke <olaf@uni-paderborn.de>:
>
>> try running
>>
>> sh -x /var/lib/dpkg/info/libc6.postinst configure
>>
>> to see the exact command getting stuck.
>
> It looks like this:
>
> sh-3.2# sh -x /var/lib/dpkg/info/libc6.postinst configure
> + set -e
> + export LC_ALL=C
> + LC_ALL=C
> + type=configure
> + preversion=
> + '[' configure = configure ']'
> + '[' -e /etc/ld.so.conf ']'
> ++ tail -n 1 /etc/ld.so.conf
> + '[' -z 'include /etc/ld.so.conf.d/*.conf' ']'
> + echo
> + grep -q '^include /etc/ld.so.conf.d/.*\.conf$' /etc/ld.so.conf
> + rm -f /etc/ld.so.hwcappkgs
> + case $(dpkg --print-architecture) in
> ++ dpkg --print-architecture
> + all_upgraded=yes
> + '[' -n '' ']'
> + '[' yes = yes ']'
> + rm -f /etc/ld.so.nohwcap
> + '[' -f /usr/share/debconf/confmodule ']'
> + . /usr/share/debconf/confmodule
> ++ '[' '!' '' ']'
> ++ PERL_DL_NONLAZY=1
> ++ export PERL_DL_NONLAZY
> ++ '[' '' ']'
> ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/libc6.postinst
> configure
> Use of uninitialized value in concatenation (.) or string
> at /usr/share/perl5/D.
>
>
> But i guess Hector is right, i tested it on another arm machine with an
> sysvinit based startup, there it works like a charm. What kind of
> miracle does sysvinit do there? Can i imitate it somehow or do i really
> have to use sysvinit?
>



-- 
 Héctor Orón


Reply to: