[Debconf-devel] Bug#682959: debconf: DbDriver "di_questions": mkdir :No such file or directory [WORKAROUND]

Eike Lantzsch zp6cge at gmx.net
Sat Mar 14 15:30:04 UTC 2015

Package: debconf-utils
Version: 1.5.55
Followup-For: Bug #682959

Dear Maintainer,

On Wheezy the following script works fine:

#! /bin/bash
debconf-copydb configdb newbackup --config=Name:newbackup --config=Driver:File
--config=Filename:debconf-backup_`date -I`.dat

On Jessie/Testing I get the following error:

Use of uninitialized value $directory in -d at
/usr/share/perl5/Debconf/DbDriver/File.pm line 43.
Use of uninitialized value $directory in concatenation (.) or string at
/usr/share/perl5/Debconf/DbDriver/File.pm line 44.
debconf: DbDriver "newbackup": mkdir :No such file or directory

Comparing /usr/share/perl5/debconf/DbDriver/File.pm of Wheezy with the same
file in Jessie shows that
the file is missing some lines between line 40 and 44.

I copied File.pm from Wheezy to my Jessie installation and low and behold - the
debconf backup script works again.

Seems to be an upstream problem.
Maybe this can make it still into Jessie while it's frozen.

Thank you for your time
Eike Lantzsch

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debconf-utils depends on:
ii  debconf  1.5.55

debconf-utils recommends no packages.

debconf-utils suggests no packages.

-- no debconf information

More information about the Debconf-devel mailing list