Unable to dump debconf database

Bug #885442 reported by Dave Walker
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
Invalid
Critical
Colin Watson

Bug Description

It seems that in Oneiric onwards we can no longer dump the debconf selections.

dave@voodoo:~$ sudo debconf-get-selections --installer > file.preseed
debconf: DbDriver "di_questions": could not open /var/log/installer/cdebconf/questions.dat

Dave Walker (davewalker)
Changed in debconf (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Brian Murray (brian-murray) wrote :

I installed using the Ubuntu Server final image for 11.10 and was unable to recreate this bug report. Looking in /var/log/installer the directory cdebconf was created and "sudo debconf-get-selections --installer" returned information.

Could you provide some more details about how you were able to recreate this bug report?

Changed in debconf (Ubuntu):
status: New → Incomplete
Revision history for this message
James Hunt (jamesodhunt) wrote :

I've just run this on oneiric desktop and have exactly the same issue:

$ sudo debconf-get-selections --installer > file.preseed
debconf: DbDriver "di_questions": could not open /var/log/installer/cdebconf/questions.dat
$ find /var/log/installer/
/var/log/installer/
/var/log/installer/media-info
/var/log/installer/version
/var/log/installer/syslog
/var/log/installer/partman
/var/log/installer/casper.log
/var/log/installer/debug
/var/log/installer/initial-status.gz
$

Confirmed also on a freshly installed precise desktop.

Revision history for this message
James Hunt (jamesodhunt) wrote :

Ignore comment #2 as /var/log/installer/cdebconf/ will only appear on a system installed using debian-installer.

Revision history for this message
jdfalk (johnathan-falk) wrote :

I am using Ubuntu Server 11.10 (GNU/Linux 3.0.0-12-server x86_64) and it is working for me.
$sudo debconf-get-selections --installer > file.preseed
$

However when I try it on a desktop version:
$ sudo debconf-get-selections --installer > file.preseed
debconf: DbDriver "di_questions": could not open /var/log/installer/cdebconf/questions.dat

Revision history for this message
jdfalk (johnathan-falk) wrote :

Sorry -- Desktop is Ubuntu 11.10 (GNU/Linux 3.0.0-14-generic x86_64)

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 885442] Re: Unable to dump debconf database

On Mon, Jan 09, 2012 at 05:03:33PM -0000, jdfalk wrote:
> However when I try it on a desktop version:
> $ sudo debconf-get-selections --installer > file.preseed
> debconf: DbDriver "di_questions": could not open /var/log/installer/cdebconf/questions.dat

This is expected - the desktop installer doesn't use cdebconf during
installation and doesn't write that file. It might not be desperately
meaningful even if it did.

Revision history for this message
Colin Watson (cjwatson) wrote :

As far as I can tell, this was pilot error due to using that command on a system that wasn't installed using debian-installer. Dave's never replied to confirm or deny that, but that's definitely the most likely scenario anyway. Feel free to open if you can show logs of this happening on a system installed using debian-installer.

Changed in debconf (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.