1

During installation of apt-fast the screen looped and after a while I closed the window.

How can I fix it?

sudo dpkg --configure -a
Setting up apt-fast (1.7.2-1~precise1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing apt-fast (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 apt-fast
1

1 Answer 1

0

Try removing the lock file and run.

To remove the lock: sudo rm /var/lib/dpkg/lock

Then run sudo dpkg --configure -a

9
  • sudo dpkg --configure -a Setting up apt-fast (1.7.2-1~precise1) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing apt-fast (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: apt-fast
    – Ronald
    Sep 4, 2012 at 11:49
  • Did you remove the lock file before running the command?
    – devav2
    Sep 4, 2012 at 11:51
  • Yes, I removed!!!
    – Ronald
    Sep 4, 2012 at 11:52
  • Can you past the output of ps axgrep dpkg . With that we can see what is creating the lock issue.
    – devav2
    Sep 4, 2012 at 11:56
  • 1
    I killed the three running application, removed the lock file again and purged apt-fast, ... now it is ok again. Thanks!
    – Ronald
    Sep 4, 2012 at 12:53

Not the answer you're looking for? Browse other questions tagged .