Debconf: 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.
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,
- You need to find the interrupted process, use the below command:
- The above command will show you the currently running debconf process
- From the above image, you will get the process id of the process
- Now you need to kill the process, use the below command:
- 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.
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.
For more articles kindly visit our HomePage