LKBEN11085: How is a debconf package configured under debian


Symptom

You have a running system and want to know how a certain package is configured with debconf

Cause

This is interesting for setting up another system

Solution

You can use the debconf-show command followed by the packagename e.g.

debconf-show dhcp3-server

This will show the configuration done with debconf.  This command has to be run as root otherwise you will get an access error.

Here we show the x11-common configuration:

 debconf-show x11-common
  x11-common/xwrapper/nice_value: 0
  x11-common/xwrapper/allowed_users: Console Users Only
  x11-common/xwrapper/actual_allowed_users: console
  x11-common/xwrapper/nice_value/error:
  x11-common/x11r6_bin_not_empty:
  x11-common/upgrade_issues:

Setting with a star in the front, here missing, are set. Others are default.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.