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
22 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 ...
  • 11
1 vote
1 answer
75 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-...
  • 314
2 votes
0 answers
2k 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-...
1 vote
0 answers
305 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://...
0 votes
0 answers
360 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 ...
2 votes
2 answers
11k 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 ...
0 votes
1 answer
428 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 ...
  • 355
3 votes
0 answers
409 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: ...
  • 251
1 vote
1 answer
578 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 ...
2 votes
1 answer
993 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 ...
1 vote
0 answers
204 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 ...
  • 11
0 votes
1 answer
396 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 ...
  • 1
0 votes
2 answers
450 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 &...
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, ...
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 ...
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-...
  • 111
3 votes
2 answers
444 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 ...
  • 393
1 vote
1 answer
1k 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) .....
3 votes
2 answers
4k 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 &...
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 ...
  • 377
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 ...
7 votes
4 answers
7k 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 ...
  • 1,861
3 votes
1 answer
656 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 ...
1 vote
0 answers
72 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 ...
  • 171
0 votes
1 answer
63 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
2 votes
1 answer
710 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: ...
2 votes
1 answer
505 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/...
  • 21
2 votes
1 answer
960 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 ...
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 ...
  • 121
2 votes
2 answers
3k 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 "...
  • 2,225
0 votes
1 answer
284 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!
  • 11
3 votes
2 answers
7k 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::...
  • 131
13 votes
3 answers
5k 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 ...
2 votes
0 answers
940 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 ...
  • 1,097
2 votes
0 answers
755 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....
  • 41
3 votes
1 answer
7k 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 @...
  • 4,497
0 votes
1 answer
47 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, ...
  • 1,674
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 |...
  • 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 ...
0 votes
2 answers
153 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 ...
7 votes
2 answers
5k 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 ...
  • 1,330
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 ...
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.
  • 163
29 votes
5 answers
9k 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 ...
2 votes
4 answers
6k views

Where should I place templates and config file in debian hierarchy

I am writing a debian binary package for my application (foo). The postinst (post install) script wants to ask the user few questions and get the answers as well. I am trying to achieve this using ...
  • 151
11 votes
2 answers
16k views

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 ...
  • 1,330
6 votes
3 answers
8k views

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. ...
  • 61
0 votes
1 answer
146 views

Filesystem owner changed by mistake

I ran this command on my ubuntu 12.04 by mistake: chown someuser / -R On RHEL it would be fixed by this command: rpm --setugids -a Is there anyway to fix it in ubuntu server?
  • 226
17 votes
2 answers
6k views

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: ...
  • 263