cryptsetup and initramfs fail to upgrade in Jammy

Bug #1986729 reported by elguaposghost
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
Expired
Undecided
Unassigned

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)

Revision history for this message
Steve Langasek (vorlon) wrote :

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
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cryptsetup (Ubuntu) because there has been no activity for 60 days.]

Changed in cryptsetup (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.