Questions tagged [debconf]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
66 views

debconf-get-selections equivalent on CentOS

I work at a place where all of our servers are Debian. Now, one of our customers have their own external server running CentOS 7. I've gotten the task to put all of our maintenance, update, ...
2
votes
2answers
96 views

Debian: What is Best Practice when a question from a dpkg install must be asked on every install/upgrade?

I have a .deb installer for a Django system and there are questions I need to ask the person installing the software. I can see a few ways to do this, and I want to know what constitutes best practice ...
0
votes
1answer
379 views

Error while doing apt-get upgrade or while installing something with apt-get

I am experiencing an error while I try to install or upgrade anything in a Debian 9.0 server. That is what the terminal returns to me. root@engelmar:~# apt-get upgrade Reading package lists... Done ...
1
vote
1answer
24 views

“debconf-communicate dumped core”. What sends QUIT (“signal 3”)?

(I have installed systemd-coredump) What would send a QUIT signal to debconf-communicate? Since the backtrace does not include raise() / kill(), I guess I can assume this fatal signal was sent to ...
2
votes
3answers
273 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
192 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
292 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 ...
4
votes
2answers
3k 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
193 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
1answer
358 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 ...
1
vote
2answers
1k 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 ...
1
vote
1answer
327 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
5k 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
552 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-...
2
votes
2answers
3k 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> ...
2
votes
1answer
3k 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
21 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
465 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
445 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
229 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
362 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
437 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 ...
9
votes
1answer
13k 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
6k 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
3k 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/...
4
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
172 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?
31
votes
1answer
18k 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 ...