dpkg-preconfigure

Content

 

Data

license:
Version:
Developer / owner:

Short description:

Manual page and help for the dpkg-preconfigure linux command. Dpkg-preconfigure allows packages to ask questions before installing them. It runs on a number of debian packages, and all packages that use debconf run a configuration script so they can scan the system and ask questions.

 

 

Man page output

man dpkg-preconfigure
DPKG-PRECONFIGURE(8)                                          Debconf                                         DPKG-PRECONFIGURE(8)

NAME
       dpkg-preconfigure - let packages ask questions prior to their installation

SYNOPSIS
        dpkg-preconfigure [options] package.deb

        dpkg-preconfigure --apt

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(7)

AUTHOR
       Joey Hess <joeyh@debian.org>

                                                            2021-10-01                                        DPKG-PRECONFIGURE(8)

 

 

Help output

sudo dpkg-preconfigure --help
Usage: dpkg-preconfigure [options] [debs]
       --apt                    Apt mode.
  -f,  --frontend               Megadja a debconf felületet.
  -p,  --priority               Megadja a megjelenítendő kérdések alsó szintjét.
       --terse                  Tömör mód.

 

Related Content

  •