Andrew Schulman wrote:
> This morning I made the mistake of remotely killing an 'apt-get update' 
> that had not finished running on another terminal.  Now, apt-get is 
> totally broken.  Whenever I try to install anything, I get:
> 
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by 
> another process
> 
> and everything fails.  Right now I have 11 uninstallable packages.
> 
> I have hunted down and killed every running process that matches apt*, 
> dpkg*, or debconf*.  Still the accursed lock remains.  I can't find any 
> obvious lock files in /var/lock or /var/cache/debconf.

The lock is a flock() lock which can only be held open if the process
remains running, so you obviously missed killing something. Try lsof.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to