How to automatically apt-get?
mario.vukelic at dantian.org
Tue Sep 25 19:55:20 UTC 2007
On Tue, 2007-09-25 at 21:38 +0200, Josef Wolf wrote:
> Neither the
> DEBIAN_FRONTEND="noninteractive" setting nor the '--yes' option seem
> to help.
As the man page says under "noninteractive", you probably need to
prepopulate the debconf database:
"If you are using this front-end, and require non-default answers to
questions, you will need to pre-populate the debconf database; see the
section below on Unattended Package Installation for more details."
"Unattended Package Installation:
If you have many machines to manage you will sometimes find yourself in
the position of needing to perform an unattended installation or upgrade
of packages on many systems, when the default answers to some
configuration questions are not acceptable. There are many ways to
approach this; all involve setting up a database and making debconf use
it to get the answers you want. You should really read debconf.conf(5)
before this section, as you need to understand how debconf's databases
More information about the ubuntu-users