Questions tagged [debconf]

Helper for package installations. It asks configuration questions when installing a package. If you see any prompt when managing packages is very likely that you are using debconf.

debconf is a utility that packages use to ask the administrator the specific configurations of a package in the configuration process (package installation implies unpacking and configuration). These settings can be preseeded if needed.

69 questions
188
votes
6 answers

"debconf: DbDriver "config": config.dat is locked by another process: Resource temporarily unavailable" while installing packages

I'm trying to install the flashybrid but when I enter the apt-get install flashybrid command, I get this error: root@user-desktop:/home/user# apt-get install flashybrid Reading package lists... Done Building dependency tree Reading state…
Dimitris7
  • 1,881
125
votes
2 answers

What do I select for "GRUB install devices" after an update?

After running Update Manager, a debconf window (titled "Configuring grub-pc"), popped up, requiring me to select the appropriateGRUB install devices for my system. I've made no changes to grub or the filesystem recently, and I don't remember what…
belacqua
  • 23,540
29
votes
5 answers

How can I prevent apt-get/aptitude from showing dialogs during installation?

I'm trying to build an Ansible Playbook to deploy some Ubuntu 12.04 servers on Linode, but my problem seems to be an Ubuntu one. When I run different combinations of apt-get or aptitude I always get the following dialog that I have to respond to.…
17
votes
2 answers

Unattended grub configuration after kernel upgrade

Today I have been working on automatic deployment of an ubuntu server. I got stuck on automatic updating of the server using apt-get upgrade trying to upgrade to a new kernel. The log looks like this: Setting up linux-image-3.2.0-24-generic…
bouke
  • 265
14
votes
3 answers

How can I accept the Lience agreement for steam prior to apt-get install?

I'm currently fiddling around with using ansible to setup my machine with my chosen configuration/apps etc... I've hit a stumbling block with steam and it's licence agreement. I've been trying to use debconf to pre-accept it. Here's one of the…
11
votes
2 answers

Is it possible to download a bash script and execute it from a preseed file?

I'd like to prepare an iso for unattended installation. So I generated a preeseed file to run through the installer automatically. Is it possible to download a bash script with wget and run it with bash directly in the first user's homedir (where…
Josh
  • 1,460
10
votes
3 answers

How to use debcondf Show results with debconf-set-selections?

I'd like to know how to use the results of debconf-show with debconf-set-selections to pre-configure deb packages with the command line or within a shell script For example, if I use sudo debconf-get-selections | grep java7 > result; cat result I…
Josh
  • 1,460
8
votes
1 answer

Why is $0 set to -bash?

First login process name seems to be set to -bash, but if I subshell then it becomes bash. for example: root@nowere:~# echo $0 -bash root@nowere:~# bash root@nowere:~# echo $0 bash -bash is causing some scripts to fail, such as .…
8
votes
2 answers

Which debconf preseed option to auto reboot after installation?

Another pressed config to find here .. auto reboot after installation
daisy
  • 6,712
7
votes
4 answers

command to accept VirtualBox PUEL (for virtualbox-ext-pack installation)?

i'm creating a script for downloading and installing some programs and adjust their settings without the need for an interaction during the whole process. so far so good, but now i'm stuck at the virtualbox-ext-pack: it stops the whole process and…
DJCrashdummy
  • 1,922
6
votes
2 answers

DEB package: Shell script with debconf does not show input dialog

The following config script inside control.tar.gz #!/bin/sh -e . /usr/share/debconf/confmodule db_fset mailadmin/database_host seen false db_clear db_purge db_input medium mailadmin/database_host || true db_go db_get mailadmin/database_host echo…
alpinist
  • 255
6
votes
3 answers

Debconf errors when configuring mysql-server

When I try to run sudo apt-get upgrade I get the error below. I also get similar error when running sudo reconfigure postfix, which I relly need to run since outgoing e-mail is not working any more. I have also run sudo apt-get autoclean, sudo…
audunms
  • 61
5
votes
3 answers

Can't update nginx because of debconf

I'm on 14.04.5 LTS. I get this error when running a normal apt-get upgrade: Setting up nginx-common (1.10.1-3+trusty1) ... dpkg: error processing package nginx-common (--configure): subprocess installed post-installation script returned error…
Walf
  • 452
5
votes
1 answer

How to fix debconf: unable to initialize frontend: Dialog error w/Packer?

I am using the Packer vsphere-iso builder to build an Ubuntu-18.04 VM on vSphere with a shell provisioner, and when I run either of the following two commands: sudo apt-get install software-properties-common --yes sudo apt-get install…
4
votes
0 answers

How to avoid debconf questions during apt install (lightdm)?

On my Xenial test system, I've got already gdm3 installed. Now I'd like to install the lightdm package as well. When I do so, it asks which default display manager should be used: I need to avoid this question (going to install those packages with…
alexs77
  • 653
1
2 3 4 5