DEBCONF(1)

๐Ÿ’– DEBCONF(1) ๐Ÿ’–

okay bestie, welcome to the Debconf manual page, section 1, and no cap this is the one you want ๐Ÿซถ


โœจ NAME โœจ

debconf โ€” run a debconf-using program


๐ŸŒธ SYNOPSIS ๐ŸŒธ

debconf [options] command [args]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So here's the vibe: Debconf is a configuration system for Debian packages. If you want the big-picture overview plus the docs written for sysadmins, go read debconf(7) โ€” it lives in the debconf-doc package, iykyk.

The debconf program runs a program under debconf's control, setting it up so it talks with debconf over stdio. Translation: the program you run is expected to spit out debconf protocol commands as its output, and it's expected to read result codes back on stdin. That's the whole handshake. If you want the nitty-gritty details of the debconf protocol itself, debconf-devel(7) has you covered โœจ

Also, the command you want run under debconf has to be specified in a way that lets your PATH find it. No full-path mystery, no vibes-only lookup โ€” PATH has to be able to do its thing.

Not me about to tell you the most important part: this command is not the usual way debconf gets used. It's way more typical for debconf to be used through dpkg-preconfigure(8) or dpkg-reconfigure(8). So like, this is the side quest, not the main character ๐Ÿ’…

๐Ÿ’… OPTIONS ๐Ÿ’…

  • -opackage, --owner=package โ€” tells debconf what package the command it's running is a part of. Bestie, this one is necessary if you want ownership of registered questions to be right, and if you want the unregister and purge commands to be properly supported. Don't skip it, fr fr.
  • -ftype, --frontend=type โ€” picks which frontend to use. That's it, that's the whole thing.
  • -pvalue, --priority=value โ€” sets the minimum priority of question that will actually get displayed. Low-priority stuff below that line? Not showing up. Periodt.
  • --terse โ€” turns on terse output mode. Heads up though: this only affects some frontends, not all of them. ๐Ÿ™ˆ

๐ŸŽ€ EXAMPLES ๐ŸŽ€

Wanna debug a shell script that uses debconf? You might use:

DEBCONF_DEBUG=developer debconf my-shell-prog

Or, alternatively, you might use this one:

debconf --frontend=readline sh -x my-shell-prog

Both iconic, both valid, pick your fighter ๐ŸŒˆ


๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

debconf-devel(7), debconf(7)


๐Ÿ’œ AUTHOR ๐Ÿ’œ

Joey Hess <joeyh@debian.org>


and that's the whole page, bestie!! ๐Ÿ“ this was the Debconf manual, dated 2026-02-16, and you've officially read the entire thing. slay, go configure something ๐Ÿ’–โœจ๐Ÿงš

๐Ÿ“ฆ where this page comes from