DPKG-PRECONFIGURE(8)

๐Ÿ’– NAME ๐Ÿ’–

dpkg-preconfigure โ€” the lil helper that lets packages ask you questions before they even get installed ๐ŸŽ€


โœจ SYNOPSIS โœจ

dpkg-preconfigure [options] package.deb

dpkg-preconfigure --apt

๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so bestie, here's the vibe: dpkg-preconfigure lets packages ask questions before they're installed. wild, right? ๐Ÿฆ‹

It operates on a set of debian packages, and every package that uses debconf will have its config script run, so it can peek at the system and ask you stuff. It's giving โœจpre-flight checkโœจ but for questions. ๐Ÿ’…


๐Ÿ”ฅ OPTIONS ๐Ÿ”ฅ

  • -ftype, --frontend=type โ€” pick which frontend to use. choose your fighter ๐Ÿ’–
  • -pvalue, --priority=value โ€” sets the lowest priority of questions you actually care about. any question with a priority below the one you picked gets ignored, and its default answers get used instead. so lowkey you're saying "don't bother me with anything under this" ๐Ÿ™ˆ
  • --terse โ€” turns on terse output mode. ngl this only affects some frontends, so don't come for me if your fave frontend is unbothered ๐Ÿ’€
  • --apt โ€” run in apt mode. it expects to read a set of package filenames from stdin instead of getting them as parameters. typically this is used to make apt run dpkg-preconfigure on all packages before they get installed. ๐Ÿซถ

to do that, 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. the classic. the icon. ๐Ÿ‘‘

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

debconf(7) โ€” go read it, iykyk ๐Ÿ’œ


๐Ÿงš AUTHOR ๐Ÿงš

Joey Hess <joeyh@debian.org> โ€” thank you for your service, king ๐ŸŽ€


this has been your girl, signing off โ€” Debconf manual, version dated 2026-02-16, from the DPKG-PRECONFIGURE(8) page. slay, stay configured, and may your priorities always be exactly right โœจ๐Ÿ’…๐ŸŒธ
๐Ÿ“ฆ where this page comes from