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
0 answers
36 views

How to make APT entirely skip package configuration

I need apt to behave a like it does in multistrap, so I want it to only download and unpack packages on install, not configure them. This is done in an alternative rootdir. I set the following option :...
Archeox's user avatar
0 votes
0 answers
90 views

how to purge debconf configuration for a specific package?

I am using debconf to configure a deb package. The problem now is that it does not raise the configuration while using dpkg -i a2s_12-3456_amd64.deb ('a2s' is the name of my package). If I use dpkg-...
xrfang's user avatar
  • 163
1 vote
1 answer
132 views

debconf not finding templates

I've been trying to generate a deb file for a personal project of mine. The project uses sbt and sbt-native-packager to generate a deb file which I will install on my server. I added a templates, ...
Thomas's user avatar
  • 111
1 vote
1 answer
29 views

Documentation for debconf VISIBLE?

The python3-debconf package (from Ubuntu bionic) installs a debconf.py module, which defines a Debconf class. The class does not explicitly define many methods, instead adding a generic handler for a ...
Mike C's user avatar
  • 113
0 votes
1 answer
563 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 ...
Mohammad Mahdi's user avatar
3 votes
2 answers
2k 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 ...
Peter's user avatar
  • 133
0 votes
1 answer
445 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 --...
Mévatlavé Kraspek's user avatar
1 vote
1 answer
388 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 ...
Karthik's user avatar
  • 155
2 votes
1 answer
182 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,...
tinnick's user avatar
  • 260
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, ...
OH MY DEAR PUFFINS's user avatar
2 votes
2 answers
442 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 ...
nick_at_MHT's user avatar
0 votes
1 answer
698 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 ...
Lucas Rodrigues Ferreira's user avatar
1 vote
1 answer
84 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 ...
sourcejedi's user avatar
  • 47.5k
3 votes
4 answers
2k 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/...
Max's user avatar
  • 315
2 votes
1 answer
594 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 ...
Isvara's user avatar
  • 173
1 vote
1 answer
858 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 ...
Benedict's user avatar
10 votes
2 answers
11k 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-...
manifestor's user avatar
  • 2,423
3 votes
1 answer
1k 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. ...
kapkong's user avatar
  • 33
0 votes
1 answer
714 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 ...
Artfaith's user avatar
  • 432
1 vote
2 answers
3k 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 ...
Zach Smith's user avatar
1 vote
1 answer
517 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 ...
Zach Smith's user avatar
0 votes
1 answer
13k 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 ...
Bobbzorzen's user avatar
2 votes
1 answer
1k 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-...
sourcejedi's user avatar
  • 47.5k
2 votes
2 answers
5k 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> ...
William Horne's user avatar
4 votes
1 answer
6k 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 # ...
nwd12a's user avatar
  • 41
0 votes
1 answer
49 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 ...
shirish's user avatar
  • 11.8k
1 vote
1 answer
842 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 ...
Fred J.'s user avatar
  • 285
2 votes
2 answers
752 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 ...
joacomug's user avatar
3 votes
1 answer
423 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 ├─────────────...
ein supports Moderator Strike's user avatar
1 vote
1 answer
502 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, ...
Daniel's user avatar
  • 1,167
2 votes
1 answer
620 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 ...
primitivist's 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 ...
langlauf.io's user avatar
10 votes
1 answer
18k 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....
BenMorel's user avatar
  • 4,397
9 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" ...
kjo's user avatar
  • 14.4k
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/...
adrelanos's user avatar
  • 1,748
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'...
Braiam's user avatar
  • 35.2k
2 votes
1 answer
214 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?
Mouse.The.Lucky.Dog's user avatar
39 votes
1 answer
24k 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'...
ljs.dev's user avatar
  • 2,117
2 votes
2 answers
3k 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 ...
Deepak Ingole's 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 ...
Joseph R.'s user avatar
  • 38.6k