Automate proftpd-basic install on ubuntu using apt-get

Posted by Bryan on Server Fault See other posts from Server Fault or by Bryan
Published on 2010-05-03T15:51:26Z Indexed on 2010/05/03 15:59 UTC
Read the original article Hit count: 325

I'm trying to build a shell script to automate the installation of several packages onto an Ubuntu 10.04 server, and I'm having problems with proftpd-basic.

I'm using the command line

apt-get -qy install proftpd-basic >/tmp/install.log

For most packages, this approach would work fine, however proftpd-basic appears to require some interaction (it asks whether to perform an inetd or standalone installation).

Is it possible for me to pre-select this option on the command line somehow, as I don't want the user to be bothered by this question? - For info, if it matters, I want to choose the 'standalone' option.

© Server Fault or respective owner

Related posts about ubuntu-10.04

Related posts about apt-get