Debian Bug report logs - #681893
debconf should create /var/cache/debconf if it doesn't exist

version graph

Package: debconf; Maintainer for debconf is Debconf Developers <[email protected]>; Source for debconf is src:debconf (PTS, buildd, popcon).

Reported by: Thiago Jung Bauermann <[email protected]>

Date: Tue, 17 Jul 2012 14:21:05 UTC

Severity: normal

Merged with 223039, 247134

Found in versions debconf/1.5.1, debconf/1.5.36.1, debconf/1.4.25, 1.3.22

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#681893: debconf should create /var/cache/debconf if it doesn't exist
Reply-To: Thiago Jung Bauermann <[email protected]>, [email protected]
Resent-From: Thiago Jung Bauermann <[email protected]>
Resent-To: [email protected]
Resent-CC: Debconf Developers <[email protected]>
X-Loop: [email protected]
Resent-Date: Tue, 17 Jul 2012 14:21:05 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: report 681893
X-Debian-PR-Package: debconf
X-Debian-PR-Keywords: 
X-Debian-PR-Source: debconf
Received: via spool by [email protected] id=B.13425346731546
          (code B); Tue, 17 Jul 2012 14:21:05 +0000
Received: (at submit) by bugs.debian.org; 17 Jul 2012 14:17:53 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
	(2010-03-16) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.8 required=4.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FOURLA,FREEMAIL_FROM,HAS_PACKAGE,RCVD_IN_DNSWL_LOW,SPF_PASS
	autolearn=unavailable version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.5  spammytokens: hammytokens:
Received: from mail-gh0-f180.google.com ([209.85.160.180])
	by buxtehude.debian.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16)
	(Exim 4.72)
	(envelope-from <[email protected]>)
	id 1Sr8b3-0000Ob-Bb
	for [email protected]; Tue, 17 Jul 2012 14:17:53 +0000
Received: by ghbz12 with SMTP id z12so444183ghb.11
        for <[email protected]>; Tue, 17 Jul 2012 07:17:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=message-id:subject:from:to:date:content-type:x-mailer
         :content-transfer-encoding:mime-version;
        bh=PMRR35Lnp5Xmr0kql6yY0MgL4SIxMsSOsF+TiImDBe8=;
        b=kB9WKBMm2FPCeHtZGfplG+YN0UsYg5prabe6YDluYnvTsDDWU+2h1EZr4nNVxUbG1B
         jCC8M+FBM2VZdPOUFxWoC6Io4j3YWUKf/4skjirNz4S6KidTmEkaatL5+nlVsY6M+J8L
         N1PzLq/w/ocHW2b/KyXMtxNqDLYJTixImHxXdZ3PSGlkeXhF4ih92/vB3emjBR822r7z
         AJHw694MbcHAWbjB3dq7aO+Urmf1z92S6k8CRZc2E0pGwNyyYK85jU0dy28YJsJSY8Yt
         /O0o2DZLj9IvTxy5WtLWNa2CpvPfj7O/np4I1elXmFb1LcTRBXaXOwTYmHccojf1KA2q
         Ne9g==
Received: by 10.236.155.130 with SMTP id j2mr1854141yhk.127.1342534666703;
        Tue, 17 Jul 2012 07:17:46 -0700 (PDT)
Received: from [192.168.1.51] ([177.132.24.192])
        by mx.google.com with ESMTPS id q3sm16926577ani.15.2012.07.17.07.17.44
        (version=SSLv3 cipher=OTHER);
        Tue, 17 Jul 2012 07:17:46 -0700 (PDT)
Message-ID: <1342534663.4136.1.camel@hactar>
From: Thiago Jung Bauermann <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Date: Tue, 17 Jul 2012 11:17:43 -0300
Content-Type: text/plain; charset="ISO-8859-1"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Delivered-To: [email protected]
Package: debconf
Version: 1.5.36.1
Severity: important


I just restored my system from backup, and my backup excluded /var/cache
hence /var/cache/debconf didn't exist anymore.

This effectivelly broke dpkg:

Setting up man-db (2.5.7-8) ...
debconf: DbDriver "config": could not open /var/cache/debconf/config.dat
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 1

A web search quickly revealed the solution:

# mkdir /var/cache/debconf

debconf should silently create the /var/cache/debconf directory instead
of failing with an error and crippling the system's package system in the
process, temporarily freaking out the user.

I'm marking the bug as important because of that. IMHO a bug which breaks
dpkg (even if the workaround is simple) is significant...

-- 
[]'s
Thiago Jung Bauermann

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 3.4.4-1bauer1-kirkwood
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debconf depends on:
ii  debconf-i18n           1.5.36.1          full internationalization support 
ii  perl-base              5.10.1-17squeeze3 minimal Perl system

Versions of packages debconf recommends:
ii  apt-utils              0.8.10.3+squeeze1 APT utility programs

Versions of packages debconf suggests:
pn  debconf-doc            <none>            (no description available)
pn  debconf-utils          <none>            (no description available)
ii  dialog                 1.1-20100428-1    Displays user-friendly dialog boxe
pn  libgnome2-perl         <none>            (no description available)
pn  libnet-ldap-perl       <none>            (no description available)
pn  libqtcore4-perl        <none>            (no description available)
pn  libqtgui4-perl         <none>            (no description available)
pn  libterm-readline-gnu-p <none>            (no description available)
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical Extraction 

-- debconf-show failed

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 15:24:02 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.