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

Re: Should debian policy require to use debconf for postinst scripts?



On Wed, 5 Dec 2001, VALETTE Eric wrote:

> I have been discussing quite a lot on different debian mailing list on a
> way to automate debian installation. The final and almost unfiform
> answer was to use debconf in non-interactive mode.
>
> The technical reason is that due to use of tty the following command
> does not work :
>
> dpkg -i pakace << EOF
> input1
> input2
> EOF

expect will do wonders.  Also, look at
/usr/share/doc/expect/examples/autoexpect.  It can record your interaction,
and produce a working expect script.



Reply to: