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

Re: Announcing debconf, configuration management for debian



Ben Gertzfield wrote:
> This is great, Joey!
> 
> Can you show an example of how to use apt-get to *skip* configuration
> questions altogether?

Assumming you have debconf installed, edit /etc/apt/apt.conf, make it look
like this:

// Pre-configure all packages before they are installed.
DPkg::Pre-Install-Pkgs {"dpkg-preconfig --apt --frontend=Base";};

This uses the base frontend, which is a null frontend -- the defaults are
provided for all questions.

An alternative (that may be a better idea) is:

DPkg::Pre-Install-Pkgs {"dpkg-preconfig --apt --priority=critical";};

Which lets you see only the most important questions.

-- 
see shy jo


Reply to: