debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process [Solved]

 Error Output

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
11 not fully installed or removed.
After this operation, 0 B 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 libpam0g:amd64 (1.3.1-5ubuntu4.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libpam0g:amd64 (--configure):
 installed libpam0g:amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 libpam0g:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Solution

sudo fuser -v -k /var/cache/debconf/config.dat
or
udo kill PID

or
sudo kill -9 PID  

 

No comments:

Post a Comment