Questions tagged [debconf]
19 questions
69
votes
7 answers
automate dpkg-reconfigure tzdata
I'm using puppet to admin a cluster of debian servers. I need to change the timezone of each machine on the cluster. The proper debian way to do this is to use dpkg-reconfigure tzdata. But I can only seem to change it if I use the dialog. Is…
razor
8
votes
2 answers
How do I make Ansible actually compile a config file having changed my debconf settings for an application?
I'm using Ansible to try to configure all of the workstations involved with a particular project to be able to use BitTorrent sync with a standard configuration (this is actually just an example of the kind of thing I want to do).
When I execute the…

Salim Fadhley
- 183
- 1
- 4
7
votes
5 answers
setting debconf selections for keyboard-configuration fails... layout ends up as Afghani
I have a machine I netinstalled, with german keyboard set, but it ignored my setting, and it is installed with US keyboard. I'm sure I set it, because if I don't set it, it asks interactively, but I wanted an unattended install.
It's Ubuntu…

Peter
- 2,756
- 1
- 20
- 26
5
votes
1 answer
dpkg-reconfigure: dialog frontend sets up postfix successfully; non-interactive frontend fails
(N.B. In this question, a leading # indicates a root prompt, not a comment. Also, I have replaced the actual hostname with .)
As the debconf (7) man-page states, dpkg-reconfigure can be invoked with any one of several front-ends,…
user61015
5
votes
1 answer
debconf is ignoring my default anwsers
I'm trying to set default answers to debconf to automate exim config. I'm setting up new values with debconf-set-selections, but debconf ignores it. I'm puzzled. Here is a short copy/paste of my problem :
root@vm-iwd:/var/cache/debconf#…

DeLoVaN
- 91
- 6
3
votes
1 answer
Showing message to the user during a Debian unattended preseeded installation
During the late_command step of an unattended installation, I'm running a shell script :
d-i preseed/late_command string in-target /bin/sh -c './execute-script.sh'
When the late_command step is reached, the UI (blue background, grey window) displays…

Bil5
- 153
- 5
1
vote
1 answer
Configuration of self-made .deb package
I'm trying to make my own debian package to deploy some scripts.
I need some parameters from the user, I'm gathering them using debconf.
So I made a DEBIAN subfolder, and put control, templates and config files into it.
Then I build my package with…

mooky
- 43
- 4
1
vote
0 answers
MySQL cluster unattended installation
I would like to install MySQL cluster without manual intervention. I tried following the steps on the official guide but couldn't quite get it to work.
What I have so far...
DEBIAN_FRONTEND=noninteractive
sudo apt-get install -y debconf-utils
#…

Mr. 14
- 111
- 2
1
vote
0 answers
Debian 9 automated install (OpenVZ) hangs on two different dialog screens
After redoing the installation by hand, I have more information, so therefor I am editing my post completely so it's better readable and hopefully someone can provide a workable solution or workaround for this issue.
I am using an OpenVZ container…

HudsonHawk
- 103
- 2
- 14
1
vote
1 answer
Does debconf-set-selections automatically deletes values from debconf database once they are used?
Consider the following typescript:
# export DEBIAN_FRONTEND="noninteractive"
# sudo debconf-set-selections <<< "mysql-community-server mysql-community-server/remove-data-dir boolean true"
# echo GET mysql-community-server/remove-data-dir |…

x-yuri
- 2,141
- 2
- 24
- 29
1
vote
1 answer
debconf ssh install variable names
I am writing a bash shell script that sets up a server. To prevent it asking for e.g. the mysql server root password I use
debconf-set-selections <<< 'mysql-server mysql-server/root_password password roooot'
debconf-set-selections <<< 'mysql-server…

Michel H.
- 119
- 2
- 6
1
vote
3 answers
Debconf broke after system failure
I have some serious problems with one of my web servers running debian wheezy. It seem that last week the server center had an error which caused the machine to shutdown suddenly.
Since then some files seem to have gone corrupt.
sudo apt-get…

cb0
- 222
- 4
- 11
1
vote
2 answers
What is the difference between Cloud-Init and Autoinstall?
So I have been trying to essentially install Nixos from the official site with a Cloud-Init for Ubuntu Server 22.04. I want to really understand how to install packages that I potentially might have to compile or other ways of installing packages…

Definity
- 127
- 6
1
vote
1 answer
debconf-set-selection for openssh-server "disable root login" prompt
I'm trying to set up a non-interactive upgrade (Wheezy to Jessie). I get a prompt to disable root login over ssh, and I want to answer "no". Can I preseed that using debconf-set-selection?
How can I find out what the conf selection is called? I…

jmilloy
- 223
- 1
- 4
- 12
0
votes
1 answer
How do you determine correct debconf-set-selections, I am interested in exim specifically, but would like to know the general way
I need to configure exim non interactively but I'm having trouble determining the question answer key value pairs.
I would like to know how to find this info on other packages as they come up though.

nicxvan
- 11
- 2