2

Working with Ubuntu 10.10 ...

When installing WebSVN via apt-get with the following command:

sudo apt-get -y install websvn

It will pop 3 screens asking for configuration details (ie. where your SVN repositories are etc).

Is there a way to pass this information to this command so that the installation can occur unattended?

Thanks

Craig S. Dickson
  • 407
  • 6
  • 14
  • Did you try adding the --force-yes option?I just read that it's different from the -y option – Icarus Aug 06 '11 at 04:38
  • The `--force-yes` option only applies to prompts from `apt-get` itself - usually questions about which packages to install etc. My issue is with prompts from the packages that are being installed. – Craig S. Dickson Aug 09 '11 at 22:25

1 Answers1

2

Almost all packages in Debian/Ubuntu use Debconf. You can pre-seed answers into debconf using the command debconf-set-selections. You need another tool debconf-get-selections to extract the answers you provided interactively. debconf-get-selections isn't installed by default, and doesn't need to be installed on the system you are installing to, but you will probably need to install it to extract your answers for the pre-seeding. This is part of the debconf-utils package.

Zoredache
  • 37,543
  • 7
  • 45
  • 61