Linux Commands Examples

A great documentation place for Linux commands


reconfigure an already installed package

see also : debconf


 dpkg-reconfigure [options] packages

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


dpkg-reconfigure keyboard-configuration
dpkg-reconfigure debconf
sudo dpkg-reconfigure dokuwiki
sudo dpkg-reconfigure tzdata


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.


Use whatever the default priority of question is, instead of forcing the priority to low.

-a, --all

Reconfigure all installed packages that use debconf. Warning: this may take a long time.

-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 dpkg-reconfigure to reconfigure a package even if the package is in an inconsistent or broken state. Use with caution.


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.

see also



Joey Hess <joeyh[:at:]debian[:dot:]org>

How can this site be more helpful to YOU ?

give  feedback