[Bug 1986729] Re: cryptsetup and initramfs fail to upgrade in Jammy

Steve Langasek 1986729 at bugs.launchpad.net
Tue Aug 16 22:09:49 UTC 2022


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

So what has the database locked? This database is part of the packaging
system.  It is not allowed to run two instances of apt or dpkg in
parallel, so something outside of the package manager has a debconf
session open that is breaking your upgrade.

** Changed in: cryptsetup (Ubuntu)
       Status: New => Incomplete

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

Title:
  cryptsetup and initramfs fail to upgrade in Jammy

Status in cryptsetup package in Ubuntu:
  Incomplete

Bug description:
  debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
  (Reading database ... 381069 files and directories currently installed.)
  Preparing to unpack .../cryptsetup-initramfs_2%3a2.4.3-1ubuntu1.1_all.deb ...
  debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
  dpkg: warning: old cryptsetup-initramfs package pre-removal script subprocess returned error exit status 1
  dpkg: trying script from the new package instead ...
  debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
  dpkg: error processing archive /var/cache/apt/archives/cryptsetup-initramfs_2%3a2.4.3-1ubuntu1.1_all.deb (--unpack):
   new cryptsetup-initramfs package pre-removal script subprocess returned error exit status 1
  debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
  dpkg: error while cleaning up:
   installed cryptsetup-initramfs package post-installation script subprocess returned error exit status 1
  Preparing to unpack .../cryptsetup_2%3a2.4.3-1ubuntu1.1_amd64.deb ...
  debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
  dpkg: warning: old cryptsetup package pre-removal script subprocess returned error exit status 1
  dpkg: trying script from the new package instead ...
  debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
  dpkg: error processing archive /var/cache/apt/archives/cryptsetup_2%3a2.4.3-1ubuntu1.1_amd64.deb (--unpack):
   new cryptsetup package pre-removal script subprocess returned error exit status 1
  debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
  dpkg: error while cleaning up:
   installed cryptsetup package post-installation script subprocess returned error exit status 1
  Errors were encountered while processing:
   /var/cache/apt/archives/cryptsetup-initramfs_2%3a2.4.3-1ubuntu1.1_all.deb
   /var/cache/apt/archives/cryptsetup_2%3a2.4.3-1ubuntu1.1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

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




More information about the foundations-bugs mailing list