Cannot delete apt-fast for a clean install

Posted by colby on Ask Ubuntu See other posts from Ask Ubuntu or by colby
Published on 2012-09-06T08:19:04Z Indexed on 2012/09/06 9:49 UTC
Read the original article Hit count: 285

Filed under:

This is my problem:

$ destroy apt-fast
[sudo] password for colbyryptos: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package apt-fast is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 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 man-db (2.6.1-2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have also tried sudo rm /var/lib/dpkg/lock, followed by sudo dpkg --configure -a.

It then gives me this

$ sudo dpkg --configure -a
[sudo] password for colbyryptos: 
Setting up man-db (2.6.1-2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 man-db

© Ask Ubuntu or respective owner

Related posts about apt-fast