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

Re: use preseeding for one package



On Thu, Mar 04, 2010 at 10:17:46PM +0200, Andrei Popescu wrote:
> On Thu,04.Mar.10, 15:48:09, chantal@antenna.nl wrote:
> > Thank you Eric,
> > 
> > I am already using cfengine2 and puppet :). But when I want to
> > install postfix or phpmyadmin with cfengine a dialog screen flashes
> > by which looks a bit weird. That's why I want to use preseeding (or
> > something else) so the installer doesn't ask questions when a
> > package is installed automatically.
> 
> I think you want the non-interactive debconf interface. Try:
> 
> # dpkg-reconfigure debconf

You can force the non-interactive front-end by setting
DEBIAN_FRONTEND in the environment:

  DEBIAN_FRONTEND=noninteractive <script>

See debconf(7).

Likewise see also debconf-set-selection(1). This injects configuration
in a way similar to preseed on install time.

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: