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

Error while trying to install software update [duplicate]

sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not ...
0
votes
0answers
67 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 ...
0
votes
1answer
1k 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
0answers
197 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 ...
2
votes
0answers
137 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: ...
0
votes
1answer
175 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 ...
1
vote
1answer
374 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
0answers
202 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 ...
0
votes
1answer
144 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 ...
0
votes
2answers
250 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
0answers
1k 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
1answer
981 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 ...
0
votes
0answers
875 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
1answer
841 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-...
3
votes
1answer
328 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 ...
0
votes
1answer
936 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
2answers
3k 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
3answers
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 ...
4
votes
0answers
274 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 ...
5
votes
4answers
4k 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 ...
3
votes
1answer
379 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
0answers
51 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 ...
0
votes
1answer
50 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
1
vote
1answer
502 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
1answer
371 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/...
2
votes
1answer
717 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
1answer
3k 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 ...
2
votes
2answers
2k 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 "...
0
votes
1answer
270 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!
3
votes
2answers
5k 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::...
11
votes
3answers
3k 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
0answers
766 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 ...
2
votes
0answers
685 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....
2
votes
1answer
5k 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 @...
0
votes
1answer
38 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, ...
5
votes
2answers
2k 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 |...
2
votes
1answer
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
2answers
124 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 ...
4
votes
1answer
4k 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 ...
8
votes
1answer
3k 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 ...
3
votes
4answers
2k 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.
29
votes
5answers
8k 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 ...
1
vote
3answers
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 ...
10
votes
2answers
14k 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 ...
6
votes
3answers
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. ...
0
votes
1answer
105 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?
17
votes
2answers
5k 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: ...
7
votes
2answers
6k views

Which debconf preseed option to auto reboot after installation?

Another pressed config to find here .. auto reboot after installation
2
votes
2answers
6k views

Which debconf preseed option to install GRUB automatically to MBR?

NOTE: I'm using preseed here , this step should be done automatically from preseed config This is the final step before finishing installation , install grub to MBR: I'm not sure which debconf ...
137
votes
6answers
159k views

“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 ...