Linux Commands Examples

A great documentation place for Linux commands

dpkg-preconfigure

let packages ask questions prior to their installation


see also : debconf

Synopsis

 dpkg-preconfigure [options] package.deb
 dpkg-preconfigure --apt

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

dpkg-preconfigure lets packages ask questions before they are installed. It operates on a set of debian packages, and all packages that use debconf will have their config script run so they can examine the system and ask questions.

options

-ftype, --frontend=type

Select the frontend to use.

-pvalue, --priority=value

Set the lowest priority of questions you are interested in. Any questions with a priority below the selected priority will be ignored and their default answers will be used.

--terse

Enables terse output mode. This affects only some frontends.

--apt

Run in apt mode. It will expect to read a set of package filenames from stdin, rather than getting them as parameters. Typically this is used to make apt run dpkg-preconfigure on all packages before they are installed. To do this, add something like this to /etc/apt/apt.conf:

 // Pre-configure all packages before
 // they are installed.
 DPkg::Pre-Install-Pkgs {
        "dpkg-preconfigure --apt --priority=low";
 };

-h, --help

Display usage help.


see also

debconf


author

Joey Hess <joeyh[:at:]debian[:dot:]org>

How can this site be more helpful to YOU ?


give  feedback