2022 Developer Survey is open! Take survey.

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
0 votes
1 answer
57 views

debconf broken, can't update, install or fix any package anymore

Every time I try to update or install a new package, I get these errors: ┌──(mahdi㉿kali)-[~] └─$ sudo apt update Hit:1 http://packages.microsoft.com/repos/code stable InRelease ...
user avatar
0 votes
0 answers
16 views

Do not hide debconf passwords during input

I have a package that (somewhat unconventionally) uses a JSON string as one of its debconf password fields. That JSON string holds username-password pairs. Currently, when debconf asks for that field (...
user avatar
  • 117
3 votes
2 answers
836 views

How do I install udeb packages in Debian?

I want to try installing cdebconf-udeb in a Debian Buster Docker container, however apt search cdebconf-udeb turns up empty. How could I try to install this package if I really wanted to. Context I'm ...
user avatar
  • 133
0 votes
1 answer
169 views

How to generate debconf for specific packages?

I try to clone a Debian10 computer in a VM automatically via vagrant. I start from scratch with packer then reinstall all the packages and configurations. So, I tried from hardware computer: dpkg --...
user avatar
1 vote
1 answer
196 views

Not able to understand the way the debconf variables are initialized in the preseed configuration

Recently I inherited a lab but unfortunately the person who had setup has left the organization. I am finding trouble in understanding the pxe installation flow at the point where the debconf ...
user avatar
  • 75
1 vote
1 answer
122 views

Where are the manuals for debconf specific commands?

I'm currently creating a custom live-image installer. Anyways, I'm taking a look at all other packages in the binary stage and many (if not all) are using debconf to show progress bars and take inputs,...
user avatar
  • 100
2 votes
1 answer
1k 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, ...
user avatar
2 votes
2 answers
342 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 ...
user avatar
0 votes
1 answer
632 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 ...
user avatar
1 vote
1 answer
67 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 ...
user avatar
  • 44.3k
3 votes
4 answers
1k 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/...
user avatar
  • 325
2 votes
1 answer
469 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 ...
user avatar
  • 173
1 vote
1 answer
746 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 ...
user avatar
7 votes
2 answers
8k 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-...
user avatar
  • 2,281
3 votes
1 answer
763 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. ...
user avatar
  • 33
0 votes
1 answer
587 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 ...
user avatar
  • 375
1 vote
2 answers
2k 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 ...
user avatar
1 vote
1 answer
423 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 ...
user avatar
0 votes
1 answer
11k 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 ...
user avatar
2 votes
1 answer
988 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-...
user avatar
  • 44.3k
2 votes
2 answers
4k 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> ...
user avatar
4 votes
1 answer
5k 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 # ...
user avatar
  • 41
0 votes
1 answer
39 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 ...
user avatar
  • 10.8k
1 vote
1 answer
722 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 ...
user avatar
  • 285
2 votes
2 answers
671 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 ...
user avatar
2 votes
1 answer
353 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 ├─────────────...
user avatar
  • 7,249
1 vote
1 answer
488 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, ...
user avatar
  • 1,147
2 votes
1 answer
546 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 ...
user avatar
1 vote
1 answer
4k 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 ...
user avatar
10 votes
1 answer
17k 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....
user avatar
  • 4,027
8 votes
1 answer
7k 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" ...
user avatar
  • 12.8k
1 vote
1 answer
4k 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/...
user avatar
  • 1,599
4 votes
2 answers
3k 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'...
user avatar
  • 33.8k
2 votes
1 answer
187 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?
user avatar
38 votes
1 answer
23k 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'...
user avatar
  • 1,987
1 vote
2 answers
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 ...
user avatar
3 votes
2 answers
4k 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 ...
user avatar
  • 37.2k