Package Related Commands, Configuration


Table of Contents

cmd:dpkg-reconfigure 
list of reconfigurable packages 
list of reconfigurable packages 
list of reconfigurable packages 
list of reconfigurable packages 
Automatic configuration 
debconf-get-selections 
debconf-set-selections 

cmd:dpkg-reconfigure 

Example:

dpkg-reconfigure debconf
dpkg-reconfigure -p medium exim4-config

-p, —priority:

Priority Description

low     Very trivial items. Defaults will work in the vast majority of cases.
medium         Normal items that have reasonable defaults.
high   Items that don't have a reasonable default.
critical Items that will probably break the system without user intervention.

list of reconfigurable packages 

Newsgroups:  gmane.linux.debian.user
Date:        Mon, 26 Jul 2004 13:24:33 -0500
> How do I find the list of packages reconfigurable with dpkg-reconfigure?

dpkg -C will show unpacked, but unconfigured packages.

John Fleming

list of reconfigurable packages 

> How do I find the list of packages reconfigurable with dpkg-reconfigure?

There is no such "list". You can assume that if a package runs you through configuration when you initially install it, that you can do it again.

Marc Wilson

list of reconfigurable packages 

> How do I find the list of packages reconfigurable with dpkg-reconfigure?

Basically every package that has a $PKGNAME.templates in /var/lib/dpkg/info/ (minus some that have no questions, just notes or the like) can be reconfigured by dpkg-reconfigure.

Either build your own system to use this or just take the "configure-debian" package.

Flo

list of reconfigurable packages 

Brian Nelson wrote:

> ( cd /var/lib/dpkg/info && ls *.config | sed 's/\.config$//' )

Thanks. That'll do it.