Questions tagged [debconf]

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

Debconf is a software utility for performing system-wide configuration tasks on -like systems. It is closely integrated with Debian's package management system, .

While there is no command named debconf, several user interface frontends exist. Debconf supports preconfiguring packages before they are installed, which allows large installs and upgrades to ask for all the necessary information before the actual installation.

Resources:

41 questions
39
votes
1 answer

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'm only using chef-solo, so don't actually need…
ljs.dev
  • 2,127
  • 4
  • 19
  • 31
10
votes
2 answers

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-server-5.5 mysql-server/root_password password xyzzy…
manifestor
  • 2,423
  • 6
  • 22
  • 47
10
votes
1 answer

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.deb sudo dpkg --install…
BenMorel
  • 4,447
  • 8
  • 36
  • 46
9
votes
1 answer

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 "preseed") file, which basically contains the answers…
kjo
  • 14,779
  • 25
  • 69
  • 109
4
votes
1 answer

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 # install maven apt-get install -y maven # Install…
nwd12a
  • 41
  • 1
  • 2
4
votes
2 answers

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't found a way with debconf* binaries to check…
Braiam
  • 35,380
  • 25
  • 108
  • 167
3
votes
2 answers

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 the client. The thing is, the client freezes…
Joseph R.
  • 38,849
  • 7
  • 107
  • 143
3
votes
2 answers

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 building a Docker image. One of my dependencies…
Peter
  • 133
  • 4
3
votes
4 answers

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/by-id/ata-SuperMicro_SSD_*…
Max
  • 315
  • 4
  • 19
3
votes
1 answer

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. ddclient asks to select a dynamic DNS service…
kapkong
  • 33
  • 3
3
votes
1 answer

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 ├───────────────────┐ | …
einpoklum
  • 8,772
  • 19
  • 65
  • 129
2
votes
1 answer

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, etc. My problem is none of the debconf manuals…
tinnick
  • 280
  • 2
  • 10
2
votes
1 answer

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, monitoring, etc. scripts over to this CentOS server. One of…
2
votes
2 answers

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 for a Debian package. Now normally, debconf…
2
votes
1 answer

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 Owners: libpam-runtime Variables: profile_names…
Isvara
  • 173
  • 1
  • 5
1
2 3