[Bug 349469] Re: debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

Steve Langasek steve.langasek at canonical.com
Wed May 30 15:59:03 UTC 2012


Colin points out this is probably related to bug #469354: dpkg-
preconfigure doesn't take the dpkg lock, so if there's an aptd hanging
around waiting for debconf answers, we'll get a collision on the debconf
lock.

So there seem to be two parts to this bug:

 - we need to figure out why there's an aptd hanging around waiting for debconf answers (possibly a UI bug?)
 - we need to do more graceful error handling when there *is* something else holding the lock, since this may be legitimate - possibly by having dpkg-preconfigure try to take the dpkg lock instead and then recognizing this as a valid condition instead of crashing.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debconf in Ubuntu.
https://bugs.launchpad.net/bugs/349469

Title:
  debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
  another process: Resource temporarily unavailable

Status in “debconf” package in Ubuntu:
  Triaged

Bug description:
  If you have encountered this bug, please run:

    sudo fuser /var/cache/debconf/config.dat

  for each of the shown process IDs, please run:

    pstree -s $pid

  and report the output to this bug.

  Binary package hint: cups

  Crash detection report attached.

  ProblemType: Package
  Architecture: i386
  DistroRelease: Ubuntu 8.10
  ErrorMessage: subprocess post-installation script returned error exit status 1
  NonfreeKernelModules: nvidia
  Package: cups 1.3.9-2ubuntu8
  SourcePackage: cups
  Title: package cups 1.3.9-2ubuntu8 failed to install/upgrade: subprocess post-installation script returned error exit status 1
  Uname: Linux 2.6.27-11-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/349469/+subscriptions




More information about the foundations-bugs mailing list