1

debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process

Posted May 18th, 2011 in News by Gevork

Hm… A day ago I was playing to make some enhasments on mysql, and suddenly nerved I have closed terminal without waiting debconfig to finish his job… Then after trying to make some

sudo apt-get install XXXXX

command I have got

 

debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process

 

error.. Was terrible, but solution is very simple….

 

 

Just you do

 

sudo rm  /var/cache/debconf/config.dat

 

if then you will get the same error but about passwords.dat and templates.dat then do also

sudo rm  /var/cache/debconf/templates.dat

 

sudo rm  /var/cache/debconf/passwords.dat

 

For me it worked, for you you can try on your own……

 

 

 

 

One Response so far.

  1. patrick says:

    thanks Man !
    this was a quick and easy fix, I had the same problem.
    MySQL 5.1.61-0ubuntu0.10.04.1

Leave a Reply