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

Re: debootstrap hangs at libc6.postinst



On Mon, Jun 02, 2008 at 12:53:09PM +0200, Olaf Lüke wrote:
> ++ '[' '' ']'
> ++ 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?

That's debconf, asking for user input. which might want terminal,

set the following for non-interactive install:

export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical
export DEBCONF_NONINTERACTIVE_SEEN=true

(debootstrap should do that for you, but running postinst by default
wont)

Check also that you have proper pty support in kernel enabled, and
/dev/pts mounted.

-- 
"rm -rf" only sounds scary if you don't have backups


Reply to: