| Use Case | Command | Description |
|---|---|---|
| 📦 Reconfigure a package | dpkg-reconfigure <package> | Re-ask configuration questions for an installed package. |
| 🎛️ Change default frontend | dpkg-reconfigure debconf | Permanently change the debconf frontend (e.g., to dialog, noninteractive). |
| 🔽 Set minimum question priority | dpkg-reconfigure -p<priority> <package> | Only show questions with priority ≥ given value (e.g., critical, high, medium, low). |
| 👁️ Ask only unseen questions | dpkg-reconfigure -u <package> | Only show questions that have not been answered before. |
| 💥 Force reconfigure broken package | dpkg-reconfigure --force <package> | Reconfigure even if the package is in an inconsistent state (use with caution). |
dpkg-reconfigure - reconfigure an already installed package
dpkg-reconfigure [options] packages
dpkg-reconfigure reconfigures packages after they have already been installed. Pass it the names of a package or packages to reconfigure. It will ask configuration questions, much like when the package was first installed.
If you just want to see the current configuration of a package, see debconf-show(1) instead.
-ftype, --frontend=type — 🔧 Select the frontend to use. The default frontend can be permanently changed by:
dpkg-reconfigure debconf
Note that if you normally have debconf set to use the noninteractive frontend, dpkg-reconfigure will use the dialog frontend instead, so you actually get to reconfigure the package.
-pvalue, --priority=value — 🔽 Specify the minimum priority of question that will be displayed. dpkg-reconfigure normally shows low priority questions no matter what your default priority is. See debconf(7) for a list.--default-priority — Use whatever the default priority of question is, instead of forcing the priority to low.-u, --unseen-only — 👁️ By default, all questions are shown, even if they have already been answered. If this parameter is set though, only questions that have not yet been seen will be asked.--force — 💥 Force dpkg-reconfigure to reconfigure a package even if the package is in an inconsistent or broken state. Use with caution.--no-reload — ♻️ Prevent dpkg-reconfigure from reloading templates. Use with caution; this will prevent dpkg-reconfigure from repairing broken templates databases. However, it may be useful in constrained environments where rewriting the templates database is expensive.-h, --help — ❓ Display usage help.Joey Hess <joeyh AT debian.org>
2022-02-20
Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-16 09:11 @2600:1f28:365:80b0:7cb9:fb:26c1:e368
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)