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

Dan Sanderson contact at dansanderson.com
Wed Oct 3 01:26:05 UTC 2012


Hopefully another data point: I accidentally started an install of the
"ppm" package using "sudo apt-get install ppm" (I had the wrong package
name), and it appeared to try to install kexec-tools.  It hung during
setup of kexec-tools (similar to
http://ubuntuforums.org/archive/index.php/t-1214718.html), so I
interrupted the process.  After this, I could not get pending set-up to
finish because /var/cache/debconf/config.dat was locked, like so:

~% pstree -alps 8300
init,1
  └─aptd,3060 /usr/sbin/aptd
      └─dpkg,3098 --status-fd 14 --configure -a --force-confdef --force-confold
          └─frontend,8300 -w /usr/share/debconf/frontend /var/lib/dpkg/info/kexec-tools.postinst configure 1:2.0.2-1ubuntu4
              └─kexec-tools.pos,8303 /var/lib/dpkg/info/kexec-tools.postinst configure 1:2.0.2-1ubuntu4
                  └─update-grub,8313 /usr/sbin/update-grub

I was able to kill -kill 8313 (update-grub), then clean up as suggested
in this bug.

~% lsb_release -rd
Description:	Ubuntu 12.04.1 LTS
Release:	12.04

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon 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:
  New
Status in “aptdaemon” package in Ubuntu:
  Confirmed
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 -alps $pid

  and report the output to this bug.

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




More information about the foundations-bugs mailing list