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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
75 views

Prevent grub-install from trying to update nvram when triggered by apt

On my machine running focal, grub-install fails if I don't pass it the --no-nvram flag. This is fine and I'm not looking for a way to fix that. However, whenever apt updates my kernel or grub or ...
Marlies's user avatar
  • 111
0 votes
1 answer
90 views

DbDriver warning & error for trying connection PostgreSQL & onlyoffice

I'm trying to connect my PostgreSQL database with the Onlyoffice System on my Ubuntu 22.04.3 LTS system. I use the instruction from https://helpcenter.onlyoffice.com/installation/docs-community-...
Snorlax's user avatar
0 votes
0 answers
84 views

I cannot install anything with apt or apt-get

Whenever I try to install something on my ubuntu 22.4, it returns this error root@lucie-Precision-Tower-3620:/home/lucie/Programs/perl-5.38.0# sudo apt install make Reading package lists... Done ...
LucieGL's user avatar
0 votes
0 answers
407 views

Fixing grub-efi-amd64-signed error

apt upgrade on Ubuntu 22.04 failed with an error from grub-efi-amd64-signed. mount: /var/lib/grub/esp: special device /dev/sda15 does not exist /dev/sda15 does not and has never existed on this ...
knite's user avatar
  • 101
1 vote
1 answer
169 views

Non interactive configuration of a package

I'm trying automatically answer yes to Activate sysstat's cron job? in the sysstat package. I tried this but it does not work : $ debconf-show sysstat 2>/dev/null | grep sysstat/enable * sysstat/...
SebMa's user avatar
  • 2,261
3 votes
0 answers
121 views

Interactive Install of a deb file using software installer(snap-store) is not asking for the debconf options and uses default values in 20.04 & 22.04

I am trying to install a software with deb file using software installer(snap-store) from the GUI and it has some options to be selected during installing which uses debconf. While installing using ...
sAm's user avatar
  • 31
1 vote
1 answer
365 views

Bash - Accept EULA in script non-interactively

I'm trying to build a singularity container for working with Microsoft Azure Kinect SDK. I need to install k4a-tools in a headless manner, but I can't figure out the right way to accept the EULA non-...
noel's user avatar
  • 314
5 votes
1 answer
3k views

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-...
MikeSchinkel's user avatar
1 vote
0 answers
510 views

Set Root Password During MariaDB 10.6 Install on Ubuntu Server 20.04

The last version of MariaDB I had installed on Ubuntu Server 20.04 was 10.3.32 through their own repositories. I was using the following set of commands (as root): apt-key adv --fetch-keys 'https://...
Sledge Hammer's user avatar
0 votes
0 answers
642 views

python2.7 package unmet dependency problem on Ubuntu

I am really new to ubuntu OS and I unknowingly may have modified some packages and ended up in python2.7-minimal, python-2.7-stdlib, python2.7-stdlibrary dependency problem. I tried to recover it ...
sri krishna's user avatar
2 votes
2 answers
14k views

How to install MySQL 8.0 with lower_case_table_names=1 on Ubuntu Server 20.04 LTS successfully?

It seems to be a lot of trouble to get MySQL running with lower_case_table_names=1 as can be seen in: lower_case_table_names=1 on Ubuntu 18.04 doesn't let mysql to start lower_case_table_names ...
stackprotector's user avatar
0 votes
1 answer
547 views

I'm confused by the "d-i"'s meaning in the preconfiguration file of `debconf-set-selections`

I'm using Ubuntu 18.04 and I'm automating the installation of a Debian package via apt install. This package requires me to review a license agreement and choose to accept or deny it, and I learned I ...
yaobin's user avatar
  • 369
3 votes
0 answers
556 views

How to automatically accept the Steam license for steamcmd?

I am installing steamcmd via a headless system and don't want to manually accept the license. Is that possible through debconf? I tried this, but it detected that I did NOT accept the license: ...
Walter's user avatar
  • 261
1 vote
1 answer
827 views

How to customise both choices and description of a debconf question?

I'm currently working on a package script where I need to provide customised choices and also wish to provide an extended description based on those choices. I've successfully modified a Linux ...
Damien Stewart's user avatar
2 votes
1 answer
1k views

unable to install pihole giving error unable to initialize frontend: Dialog

after i run this command : $ curl -L install.pi-hole.net | bash it gets stuck debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog ...
Ciasto piekarz's user avatar
1 vote
0 answers
206 views

/var/debconf/config.dat is locked [duplicate]

Question / Problem apt-get upgrade fails with debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable Any ideas of what else can I ...
Svengal's user avatar
  • 11
0 votes
1 answer
556 views

How can I install debconf? [duplicate]

I am trying to install debconf since it seems to be broken on my computer. I ran the command: apt-get -f install debconf I got the following error message: dpkg: error: unable to create new file ...
Lena A's user avatar
  • 1
0 votes
2 answers
489 views

Couldn't upgrade Ubuntu

After recover /var/lib/dpkg/status I couldn't upgrade my ubuntu system. Log is here: Preconfiguring packages ... Setting up debconf (1.5.58ubuntu2) ... Could not find platform independent libraries &...
Evgenii Shibkov's user avatar
2 votes
0 answers
2k views

Does answering "no" on the "restart services during package upgrades without asking?" affect unattended-upgrades?

I answered no when doing interactive upgrade check on 18.04 and this came up: There are services installed on your system which need to be restarted when certain libraries, such as libpam, libc, ...
user967220's user avatar
1 vote
1 answer
2k views

debconf-i18n depends on debconf (= 1.5.58ubuntu2); however: Version of debconf on system is 1.5.58ubuntu1

when I tried to install git in Ubuntu 16.04, sudo apt-get install git debconf-i18n : Depends: debconf (= 1.5.58ubuntu2) but 1.5.58ubuntu1 is to be installed git : Depends: liberror-perl but it is ...
user avatar
0 votes
0 answers
2k views

Unable to download debconf preconfiguration file

I'm using ipxe to network boot many machines. I do not wish to provide a debconf file specific to any single machine. To accomplish this ipxe is passing in many parameters into the installer to make ...
Rusty Weber's user avatar
0 votes
1 answer
1k views

Automating phpmyadmin installation

I am using the following commands to install phpmyadmin and the install is getting interrupted... debconf-set-selections <<< "phpmyadmin phpmyadmin/debconfig-install boolean true" debconf-...
DanBarber's user avatar
  • 111
4 votes
2 answers
508 views

Pre-seeding debconf doesn't impact install of libdvd-pkg

I'm raising this here as I'm not sure if this is a bug or if I'm just going crazy. But when I'm installing a new Ubuntu Desktop I like to use chunks of copy&paste-able lines to get useful stuff ...
Lantizia's user avatar
  • 413
1 vote
1 answer
2k views

ImportError: No module named 'debconf' dpkg: error processing package update-notifier-common

I get this error message...and occurs everytime when I try to upgrade my system.. I am on 16.04 :( please I am a noob... Do you want to continue? [Y/n] y Setting up update-notifier-common (3.168) .....
William Gr Rm's user avatar
3 votes
2 answers
5k views

Can't install software because "No module named 'debconf'" error in apt/dpkg

I get this error message every time I try to install any app. Setting up apt-listchanges (3.8) ... Traceback (most recent call last): File "/tmp/tmp.agLdMrHHO6.aptlc/debconf-helper.py", line 6, in &...
Chihab Chergui's user avatar
5 votes
3 answers
3k views

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 ...
Walf's user avatar
  • 399
4 votes
0 answers
284 views

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

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 ...
alexs77's user avatar
  • 653
7 votes
4 answers
8k views

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 ...
DJCrashdummy's user avatar
  • 1,911
3 votes
1 answer
776 views

How do I get past the EULA screen in the terminal when trying to install Pipelight?

I am in the process of installing Pipelight (according to the directions I found online). I typed the sudo apt-get install pipelight command everything is fine until I get a EULA from Microsoft in the ...
John Staversky's user avatar
1 vote
0 answers
86 views

See what debconf do to configuration files

Some packages will run debconf when you install them. Based on the input you enter in the dialogs, some configuration files will be change before installation ends. How can I see what actions debconf ...
tessiof's user avatar
  • 171
0 votes
1 answer
73 views

Debian package with System Requirements validation?

Is it possible to create, through the use of debconf, a package that validates the minimum system requirements to run the software? Is debconf pre-install config script the way to do it? Thanks
Luis Bosquez's user avatar
2 votes
1 answer
765 views

Multiple questions on same dialog

How do I setup the postinst script and template to have multiple questions on same dialog and get their return values in different $RET My current code: template Template: foo/like_debian Type: ...
Milind Dumbare's user avatar
2 votes
1 answer
553 views

Unable to Install Openssh-Server on Ubuntu Server

I am trying to install OpenSSH-Server and receiving following error, Unpacking openssh-server (from .../openssh-server_1%3a5.9p1-5ubuntu1.7_amd64.deb) ... /var/lib/dpkg/tmp.ci/preinst: 17: exec: /usr/...
ajay_m's user avatar
  • 21
2 votes
1 answer
1k views

Error with dpkg debconf for every apt command

I don't know what happened before, but now I've got this kind of error in Ubuntu 14.04 on my notebook whenever I try to install any package/program though terminal or software center: configuring ...
LinPy fan's user avatar
  • 121
1 vote
1 answer
4k views

postinst always fails because of debconf

I am having some trouble using debconf for my package. I ask for the mysql pw in the package.config file: . /usr/share/debconf/confmodule db_input high mypkg/mysql_root_pw db_go Then, in postinst, I ...
Christof's user avatar
  • 121
2 votes
2 answers
4k views

Why dpkg asks "Override local changes to /etc/pam.d/common-*?" when libpam-runtime/override is set to false?

In my system, libpam-runtime/override is set to false (which I can see using debconf-get-selections). Why when upgrading the system, specifically libpam-systemd, dpkg still pops up the window "...
Marcus's user avatar
  • 2,475
0 votes
1 answer
287 views

debconf window appears when I install a new software!

apps are not installing after Debconf window appears when download is complete & software gets ready to be installed in ubuntu software centre!
stephen's user avatar
  • 11
3 votes
3 answers
8k views

Perl may be unconfigured?

Hi I have error when I want to install,remove or configure my package this is the error debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (you may need to install the Debconf::...
viyancs's user avatar
  • 131
13 votes
3 answers
6k views

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 ...
Joseph Kahn's user avatar
2 votes
0 answers
1k views

Looking for info on debconf-set-selections/pre-configuration/pre-seeding specs format

The output of debconf-get-selection, once the comment and blank lines are filtered out, consists of records (i.e. rows) of 4 (or sometimes 3) whitespace-separated fields. For example1: d-i ...
kjo's user avatar
  • 1,177
2 votes
0 answers
787 views

Installing a Package that asks debconf questions doesn't work with the Software-Center

I am building an automatic configure Package for our environment and it has to ask a few debconf questions when installing. Until Ubuntu 13.10 it was no problem installing it via the GUI but since 14....
mist's user avatar
  • 41
3 votes
1 answer
9k views

debconf: unable to initialize frontend:

I'm trying to (unsuccessully) correct the timezone on my system: root@102c5d7bfc0d:/# dpkg-reconfigure tzdata debconf: unable to initialize frontend: debconf: (Can't locate Debconf/FrontEnd/.pm in @...
Sepero's user avatar
  • 4,557
0 votes
1 answer
51 views

debconf hanged on 13.04 to 13.10 upgrade path to Tahr

I was notified of a difference in /etc/default/grub, so I clicked "Run a shell to examine the situation". But the debconf windows turned dimmed and no terminal opened. What can I do? I'm stuck there, ...
useful's user avatar
  • 1,834
6 votes
2 answers
3k views

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 |...
user22611's user avatar
  • 405
2 votes
1 answer
1k views

Debconf got a corrupted perl script. How to reinstall it?

I got some power issues at home and got a bunch of files in my computer corrupted. I could fix most of them, but one that's bugging me is a debconf script. Everytime I try to install something I get ...
igorsantos07's user avatar
0 votes
2 answers
156 views

unable to access dash after uninstalling google chrome

After i removed the package google chrome through command sudo apt-get remove google-chrome-stable. I couldnot access dash. I tried sudo apt-get install unity-scope-home command, but it gives me ...
Krishan Aggarwal's user avatar
9 votes
3 answers
6k views

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

I'd like to know in common how to use the results of debconf-show with debconf set selections to precvonfigure deb packages with the command line or within a shell script For example If I use sudo ...
Josh's user avatar
  • 1,440
8 votes
1 answer
4k views

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 ...
James Shimer's user avatar
4 votes
4 answers
3k views

Is there deb packages that display license agreement?

Could you please list some deb packages that show license agreement and ask to accept it? I would like to learn their internals.
user10101's user avatar
  • 163
29 votes
5 answers
10k views

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 ...
Brian Lyttle's user avatar