LinuxCommandLibrary

dpkg-reconfigure

TLDR

Reconfigure packages

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

SYNOPSIS

dpkg-reconfigure [options] packages

DESCRIPTION

dpkg-reconfigure reconfigures already installed packages. It runs the package's configuration scripts again, allowing you to change settings made during installation.
Useful for reconfiguring locales, keyboard layout, timezone, and other system settings.

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

CAVEATS

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

SEE ALSO

dpkg(1), debconf(7)

Copied to clipboard