Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

debconf(1) [opendarwin man page]

DEBCONF(1)							      Debconf								DEBCONF(1)

debconf - run a debconf-using program SYNOPSIS
debconf [options] command [args] DESCRIPTION
Debconf is a configuration system for Debian packages. For a debconf overview and documentation for sysadmins, see debconf(7) (in the debconf-doc package). The debconf program runs a program under debconf's control, setting it up to talk with debconf on stdio. The program's output is expected to be debconf protocol commands, and it is expected to read result codes on stdin. See debconf-devel(7) for details about the debconf protocol. The command to be run under debconf must be specified in a way that will let your PATH find it. This command is not the usual way that debconf is used. It's more typical for debconf to be used via dpkg-preconfigure(8) or dpkg-reconfigure(8). OPTIONS
-opackage, --owner=package Tell debconf what package the command it is running is a part of. This is necessary to get ownership of registered questions right, and to support unregister and purge commands properly. -ftype, --frontend=type Select the frontend to use. -pvalue, --priority=value Specify the minimum priority of question that will be displayed. --terse Enables terse output mode. This affects only some frontends. EXAMPLES
To debug a shell script that uses debconf, you might use: DEBCONF_DEBUG=developer debconf my-shell-prog Or, you might use this: debconf --frontend=readline sh -x my-shell-prog SEE ALSO
debconf-devel(7), debconf(7) AUTHOR
Joey Hess <> 2018-02-28 DEBCONF(1)

Check Out this Related Man Page

DPKG-RECONFIGURE(8)						      Debconf						       DPKG-RECONFIGURE(8)

dpkg-reconfigure - reconfigure an already installed package SYNOPSIS
dpkg-reconfigure [options] packages DESCRIPTION
dpkg-reconfigure reconfigures packages after they have already been installed. Pass it the names of a package or packages to reconfigure. It will ask configuration questions, much like when the package was first installed. If you just want to see the current configuration of a package, see debconf-show(1) instead. OPTIONS
-ftype, --frontend=type Select the frontend to use. The default frontend can be permanently changed by: dpkg-reconfigure debconf Note that if you normally have debconf set to use the noninteractive frontend, dpkg-reconfigure will use the dialog frontend instead, so you actually get to reconfigure the package. -pvalue, --priority=value Specify the minimum priority of question that will be displayed. dpkg-reconfigure normally shows low priority questions no matter what your default priority is. See debconf(7) for a list. --default-priority Use whatever the default priority of question is, instead of forcing the priority to low. -a, --all Reconfigure all installed packages that use debconf. Warning: this may take a long time. -u, --unseen-only By default, all questions are shown, even if they have already been answered. If this parameter is set though, only questions that have not yet been seen will be asked. --force Force dpkg-reconfigure to reconfigure a package even if the package is in an inconsistent or broken state. Use with caution. --no-reload Prevent dpkg-reconfigure from reloading templates. Use with caution; this will prevent dpkg-reconfigure from repairing broken templates databases. However, it may be useful in constrained environments where rewriting the templates database is expensive. -h, --help Display usage help. SEE ALSO
debconf(7) AUTHOR
Joey Hess <> 2012-12-21 DPKG-RECONFIGURE(8)
Man Page

13 More Discussions You Might Find Interesting

1. Programming

about a.out

when we compile a c program in unix every time output file is a.out how is this why not output file is seperate for every prog thanx yy990605 (1 Reply)
Discussion started by: yy990605
1 Replies

2. Shell Programming and Scripting

Run a program and feed her parameters automaticly

How can I run a program ('prog') through perl (in unix) and feed her required parameters? system ("prog \n"); ????????? now 'prog' ask for parameters and I want the perl script to give them automaticly without humen intervention? (2 Replies)
Discussion started by: roco
2 Replies

3. UNIX for Dummies Questions & Answers

How to use UNIX commands in C program

Hai friend, I am new to linux..i had gone through most of the commands used in unix but i dont know how to use this commands in my C program..U know about this plz send the example program(C prog with unix command)... Thank... (3 Replies)
Discussion started by: sundar.lsr
3 Replies

4. Shell Programming and Scripting

sh : Problem with the result of a find command

Hi I'm working on solaris and I'm trying to run a script. The part listed here does not work properly, the result of the find command is not in the output file /tmp/result (I've checked the find command , executing the shell with sh -x , it seems correct). It seems like I've lost the standard... (4 Replies)
Discussion started by: frenchwill
4 Replies

5. Shell Programming and Scripting

Running more than one function from a subroutine

Hi All I am new to perl so had one question. I have one Subroutine which works as expected and below is just an example. where I ran a command and check the output. so my question is if I have more than one command then how to check the results, meaning I want to add more command and check... (2 Replies)
Discussion started by: tannu
2 Replies

6. Shell Programming and Scripting

How to give a variable output name in a shell script inside a for loop

Hi all I run my program prog.c in the following way : $ ./prog 1 > output.txt where 1 is a user defined initial value used by the program. But now I want to run it for many a thousand initial values, 1-1000, and store all the outputs in different files. Like $ ./prog 1... (1 Reply)
Discussion started by: alice06
1 Replies

7. Debian

Dialog box in debconf file.

Hi all, I am working with debconf file for packaging the projects. I have used the ". /usr/share/debconf/confmodule" file to do the packaging in debian standard. It worked fine. When ever I am installing the package in apt-get the dialogs are come as I mentioned in the templates file.... (0 Replies)
Discussion started by: Nila
0 Replies

8. UNIX for Dummies Questions & Answers

Noob questions.. Append output to a file in different directory

Noob question! I know almost nothing so far, and I'm trying to teach myself from books, on a typical command line without using scripts how would I append output from a sort to a file in a completely different directory? example: If I'm sorting a file in my documents directory but I... (2 Replies)
Discussion started by: Byrang
2 Replies

9. Shell Programming and Scripting

A question about if statement

Hi everybody, I'm sorry If I ask a silly question. I have a simple code like this I have the following error: Can anyone explain for me why I have this error, and how can I correct it? Thanks in advance. (12 Replies)
Discussion started by: Dark2Bright
12 Replies

10. Shell Programming and Scripting

How to compare floating variables , integer value expected?

I am running some commands and I am trying to get an output into a variable. I am having problem when I try to put that value in while loop, it says integer value expected. What's the best way to accomplish this remaining=$(symclone -sid XXX -f Clone_test query | grep MB | awk '{print... (1 Reply)
Discussion started by: rajsan
1 Replies

11. Shell Programming and Scripting

Redirecting stdion, stdout within an AT command

Hello, I'm strugling with some redirecting and all help is apreciated. The following program is working as expected, but the result of the AT command doesn't go to any file. Thanks in advance for the help. #!/bin/bash modem=/dev/ttyUSB1 file=/root/imsi.txt # print error to stderr and exit... (4 Replies)
Discussion started by: cleitao
4 Replies

12. UNIX for Dummies Questions & Answers

UNIX command question

Hi Guys, I am new on the scripting world and would like ask for help if you can. Here are my questions below:- What Unix command(s) would you put in a shell script to read an ASCII comma-delimited input file and validate that field 5 only contains numeric characters? What Unix command(s)... (5 Replies)
Discussion started by: mahiwaga
5 Replies

13. UNIX for Beginners Questions & Answers

Running a program manual vs script

Hello - I am new to unix... very new. I am running a program at the command prompt:-nohup ./ledger - comptroller_extract 05/11/2018 & The above runs as expected. If I put it in a sh script:- current_date=$(date+%m/%d%y) nohup ./ledger - comptroller_extract $current_date & This does... (4 Replies)
Discussion started by: MSpeare
4 Replies