dpkg-reconfigure

reconfigure installed Debian packages

TLDR

Reconfigure packages
$ dpkg-reconfigure [package1] [package2]
Reconfigure console font setup
$ dpkg-reconfigure console-setup
Reconfigure timezone
$ dpkg-reconfigure tzdata

SYNOPSIS

dpkg-reconfigure [options] packages

DESCRIPTION

dpkg-reconfigure reconfigures already installed packages on Debian-based systems. It runs a package's post-installation configuration scripts again, presenting the same prompts shown during initial installation and allowing you to change previously configured settings.The tool uses the debconf system to manage configuration questions and responses. It's particularly useful for system settings that are difficult to change manually, such as locales, keyboard layouts, timezones, and display manager configurations.Different frontends (dialog, readline, noninteractive) control how questions are presented, making it suitable for both interactive terminal sessions and automated scripts.

PARAMETERS

-f, --frontend frontend

Use specified frontend (dialog, readline, noninteractive)
-p, --priority priority
Priority of questions (low, medium, high, critical)
-a, --all
Reconfigure all packages
--default-priority
Use default priority

INSTALL

sudo apt install dpkg
sudo dnf install dpkg
sudo pacman -S dpkg
sudo apk add dpkg
sudo zypper install dpkg
brew install dpkg
nix profile install nixpkgs#dpkg

CAVEATS

Debian/Ubuntu specific. Not all packages support reconfiguration. Some reconfigurations require root privileges.

SEE ALSO

dpkg(1)