in

LinuxLinux

Fix debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable Error

How to fix debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable error?

Debconf Error Fix

D

ebconf: DbDriver “config”: /var/cache/debconf/config.dat Error: In this article, we will show you that how to fix the error “debconf: DbDriver “config”: /var/cache/debconf/config.dat locked by another proccess” on your Ubuntu 18.04 LTS, 19.04 & 19.10 systems. Let’s get into the article.

Jump To:

Why did this Error happen?

This error most commonly occurring error on your Linux based systems. It will occur when you try to run two consecutive processes at the same time. The other possible way to happening is the DPKG package installation error. When you are trying to install the dpkg package and it gets interrupted then this debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process error will occur.

[email protected]:~$ sudo apt install firefox
[sudo] password for tecrobust: 
Reading package lists... Done
Building dependency tree
Reading state information... Done
firefox is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up firefox (0.15+nmu2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing firefox (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
firefox
E: Sub-process /usr/bin/dpkg returned an error code (1)
[email protected]:~$ 

Kindly follow the instructions to fix this issue on your Ubuntu systems.

How to fix this Error?

To fix this error, you need to find the interrupted process which causes this error and you need to kill the interrupted process. To do this,

Check this too  The Partition table format in use on your disks normally requires Separate Boot loader Code- Fix
  • You need to find the interrupted process, use the below command:
$sudo fuser -v /var/cache/debconf/config.dat
  • The above command will show you the currently running debconf process
Debconf error fix
Debconf error fix
  • From the above image, you will get the process id of the process
  • Now you need to kill the process, use the below command:
$sudo kill 5547
  • Replace 5547 with your Process ID number and execute the command to kill the process.
  • Now restart your Ubuntu system.

That’s it. Now the error will be fixed and allows you to update your apps, upgrade your Ubuntu systems and dpkg package installations.

Verdict:

This is how you can fix this debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable Error! If you have any queries related to this topic and then kindly comment us below.

Article Review
  • Article Explanation
  • Commands Provided
  • Solutions Provided
4.9

Summary

For more articles kindly visit our HomePage

Leave a Reply

Your email address will not be published. Required fields are marked *

Written by Rachel

I'm Rachel, From Arizona. Am playing the "Content Management" Role in Tec Robust. I started working in TR from Jan 2019. Big Marvel Fan.

Contact me:
tecrobust [@] gmail.com
Sub: Message to Rachel

Ready to use Ubuntu for robotics?

Linux Lite 4.8 released Today

Officially Linux Lite 4.8 Released & Available for Download Now!!