Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
share|improve this question
add comment

1 Answer

Try removing the lock file and run.

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

Then run sudo dpkg --configure -a

share|improve this answer
    
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 '12 at 11:49
    
Did you remove the lock file before running the command? –  devav2 Sep 4 '12 at 11:51
    
Yes, I removed!!! –  Ronald Sep 4 '12 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 '12 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 '12 at 12:53
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.