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.