Re: Installation hangs at "Preconfiguring packages .. Fetched..."

2005-01-20 Thread Thomas Lange
> On Thu, 20 Jan 2005 13:47:45 +0100 (MET), "Heiko Zang" <[EMAIL 
> PROTECTED]> said:

> I tried that but postconfigure of the php4 package asks if one wants to 
run
> the apacheconfig script and so the installation hangs.
Please fill a bug against these packages. AFAIK packages must use
debconf if they want to ask questions. 

-- 
regards Thomas


Re: Installation hangs at "Preconfiguring packages .. Fetched..."

2005-01-20 Thread Heiko Zang
Hi!

>> Tried that ($ROOTCMD apt-get install apache apache-common php4>
>> /dev/null) but System hangs as well.
>> 
> No, that's wrong. Try this one, do not redirect stdout, but stdin

Ops, sure!
 
>  $ROOTCMD apt-get install apache apache-common php4 < /dev/null

I tried that but postconfigure of the php4 package asks if one wants to run
the apacheconfig script and so the installation hangs.
Even adding a '--force-yes' or a '--assume-yes' option for apt-get had no
effect.

So unfortunately a pipe or a redirect of stdin don`t work.

I think the main issue is why a parent process and a same child process  are
started if there is a command like: "yes | apt-get install ...".

What could be the reason why a 2.6 kernel is causing the trouble?


regards,

Heiko Zang