Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [debconf]

Debconf is a software utility for performing system-wide configuration tasks on debian-like linux systems.

1
vote
3answers
43 views

install grub bootloader dynamically to multiple disks

I am trying to preseed installing grub dynamically with to two disks with an early_command. I am using IPXE. Here is the relevant part: d-i partman/early_command string \ DISKA=$(realpath /dev/disk/...
2
votes
1answer
77 views

What's the format of the debconf config.dat file?

debconf has a file at /var/cache/debconf/config.dat that contains answers to configuration questions. For example, Name: libpam-runtime/profiles Template: libpam-runtime/profiles Value: unix, systemd ...
2
votes
1answer
90 views

Automating postfix installation

I have been trying to automatically install postfix in a non-interactive way via startup-script on machine boot up. After a bit of research I found out some suggestion that I could try to install it ...
1
vote
2answers
607 views

How to find out the variable names for debconf-set-selections?

Let's say I want to install mysql from a script without being asked any configuration questions like what root password I want to set by apt. I would then preset the debconf variables: echo mysql-...
2
votes
1answer
70 views

Automating the installation of individual debian 8 packages with interactive prompts

I am looking to automate some package installations via bash script; they will be installed to a pre-existing chroot'd filesystem. Some of the packages however involve interactive user input (i.e. ...
0
votes
0answers
153 views

Setting debconf values in preseed early_command script

I'm working on a preseeded environment where one of the steps is to have an admin put in their credentials in order to authenticate the system after build. I'm currently doing this all in a ...
0
votes
1answer
232 views

What's the meaning of these debconf questions?

As you could see the result from debconf-get-selections | grep phpmyadmin: # MySQL application password for phpmyadmin: phpmyadmin phpmyadmin/mysql/app-pass password phpmyadmin ...
0
votes
0answers
322 views

/debconf/confmodule fails with Can't exec “-bash”: No such file or directory at /usr/share/perl/5.18/IPC/Open3.pm line 173

Executing: . /usr/share/debconf/confmodule fails with: Can't exec "-bash": No such file or directory at /usr/share/perl/5.18/IPC/Open3.pm line 173. open2: exec of -bash failed at /usr/share/perl5/...
1
vote
2answers
721 views

How to preseed debconf password fields?

I previously asked (and answered) a question on how to preseed debconf on Ubuntu: How do you preseed debconf from a previously installed package? I found that just appending to the config.dat file ...
2
votes
1answer
262 views

How do you preseed debconf from a previously installed package?

I would like to install a package (CouchDB 2.1) without having to manually respond to the prompt. I believe that preseeding debconf is the way this is done. The debconf manual () says this: The ...
0
votes
1answer
3k views

debconf is broken, can't install anything anymore

I tried to install docker on my raspbian install and accidentally broke apt-get If I run apt-get install or upgrade, I get the following error: E: The package debconf needs to be reinstalled, but I ...
2
votes
1answer
361 views

What causes `dpkg-reconfigure` to show nothing (ssl-cert package)?

$ sudo debconf-show ssl-cert make-ssl-cert/title: make-ssl-cert/altname: make-ssl-cert/vulnerable_prng: make-ssl-cert/hostname: localhost $ sudo dpkg-reconfigure ssl-cert $ sudo dpkg-...
1
vote
2answers
2k views

Apt-get Error: apt-listchanges and debconf

I am repeatedly getting this message: Setting up apt-listchanges (3.10) ... Traceback (most recent call last): File "/tmp/tmp.aulCeycFHm.aptlc/debconf-helper.py", line 6, in <module> ...
1
vote
1answer
2k views

Automating Slapd Install

I'm writing a script that automates the installation of slapd and phpldapadmin. The script: #!/bin/bash # make sure to run script as sudo # LDAP # update first apt-get -q -y update # ...
0
votes
1answer
19 views

How to Back up conffiles in the same directory without it being read.

I have seen two extensions being used which doesn't lead to configuration files in /etc/ being read. The first is - *.conf.backup and the second is *.conf.old Are there any other extensions ...
1
vote
1answer
350 views

debconf error messages from apt-get install line in Dockerfile

I am learning about Dockerfile and had not worked with curl before. When running this Dockerfile . The terminal output gives: And then: Googleing around tells me that there was an ...
2
votes
2answers
355 views

Debconf error in system with systemd

I've encountered the following problem when using debconf to configure a package in Ubuntu 16.04 during installation. More precisely, the package uses debconf to save configurations files, and right ...
2
votes
1answer
183 views

dictionaries-common package complains of possible debconf corruption

Upgrading my Debian Stretch distribution, I get the following error message during the configuration of package dictionaries-common: ┌───────────────────┤ dictionaries-common: wordlists ├─────────────...
1
vote
1answer
299 views

How can I preseed the answers to the prompts in this deb?

I am trying to install jitsi-meet on a vm via automated script . However, the deb package prompts for a hostname. How can I set this value from a script? I have tried using debconf-set-selections, ...
2
votes
1answer
369 views

Deb Package Templates File Variables

I am building a .deb package which will install software to create a RAID array from prexisting system devices. I would like to have a question presented to the user through the templates file, using ...
0
votes
1answer
3k views

What is the difference between keyboard-configuration/layout and keyboard-configuration/layoutcode?

I am trying to automate the installation of Ubuntu 14.04 Server. While trying to set the keyboard layout to German, I noticed two different configuration options: keyboard-configuration/layout and ...
8
votes
1answer
12k views

How to configure the MySQL APT repo on Ubuntu, on a non-interactive shell?

I want to install MySQL 5.7 on Travis CI, which runs Ubuntu 12 virtual machines. I'm willing to use the official MySQL APT repo: wget http://dev.mysql.com/get/mysql-apt-config_0.2.1-1ubuntu12.04_all....
8
votes
1answer
5k views

What values from debconf-get-selections should not be preseeded?

I want to replicate the Debian installation choices made for my system's current configuration in the installation of a new system. Debian can be pre-configured through a "pre-configuration" (aka "...
1
vote
1answer
2k views

How to regenerate /var/cache/debconf on Debian?

Suppose one deleted (or damaged) the following files/folder. /var/cache/debconf /var/cache/debconf/config.dat /var/cache/debconf/config.dat-old /var/cache/debconf/passwords.dat /var/cache/debconf/...
3
votes
2answers
2k views

How to check debconf selections of a non-installed package?

I'm trying to find the available debconf configuration options (which key-value pairs the package supports and if possible a description of each) of some non-installed packages, like ufw, but I haven'...
2
votes
1answer
164 views

What does -fnoninteractive mean in a call to debconf-communicate?

My title is the question. I'm looking at a script which makes a popen call to debconf-communicate with a cli argument -fnoninteractive. What does the -fnoninteractive do?
29
votes
1answer
16k views

apt-get install without debconf prompt

I would like to install chef via apt non-interactively, but by default, apt installation brings up this prompt: Is there a way to skip this step during installation or pass a value to apt install? I'...
1
vote
2answers
2k views

When removing a Debian package, how can I also remove Python *.pyc files?

I have a Debian package say XYZ.deb which copies some file on installation. As per Debian package policy on package uninstallation only those files will be removed which were copied during ...
3
votes
2answers
3k views

Preseeding Debian Install From Local Mirror: No Disks Detected

As a follow up to this question, I am trying to fully automate the Debian (squeeze) installation procedure. I have so far managed to mount an ISO image of the main Debian DVD and serve it over FTP to ...