LKBEN11085: How is a debconf package configured under debian


This article has not been checked!

LKB | Created: 02/04/2020 | Version: 0 | Language: EN | Rating: 0 | Outdated: False | Marked for deletion: False

Author: Wim Peeters - Keskon GmbH & Co. KG


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.

About the Author

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 in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.

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!