dpkg-reconfigure Command Options

When a package is installed, it may run a configuration script as part of the installation process. To run this configuration script again at some point in the future, use the dpkg-reconfigure command. Although there are some options to this command, they are rarely used.

Syntax of the dpkg-reconfigure command:

# dpkg-reconfigure [options] source packages

The following example will re-run the tzdata configuration scripts:

# dpkg-reconfigure tzdata

dpkg-reconfigure Command Options

Options Description
-ftype, –frontend=type Select the frontend to use.
-pvalue, –priority=value Specify the minimum priority of question that will be displayed.
–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.
-h, –help Display usage help.
Related Post