dpkg-preconfigure β let packages ask questions prior to their installation
| Use Case | Command | Description |
|---|---|---|
| Preβconfigure a single package | dpkg-preconfigure [options] package.deb | π¬ Let packages ask questions before installation |
| Preβconfigure all packages via apt | dpkg-preconfigure --apt | π¦ Read package filenames from stdin, used by apt |
| Select frontend type | dpkg-preconfigure --frontend=type | ποΈ Choose the frontend to use |
| Set question priority threshold | dpkg-preconfigure --priority=value | π½ Ignore questions below this priority |
| Enable terse output | dpkg-preconfigure --terse | π Reduce output verbosity (affects some frontends) |
dpkg-preconfigure [options] package.deb
dpkg-preconfigure --apt
π¬ 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.
-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";
};
Joey Hess <joeyh@debian.org>
2022-02-20
Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:12 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)