debconf:DbDriver“config”:/var/cache/debconf/config.dat被另一个进程locking

我在我的debian / testing系统上运行apt-get upgrade,现在我得到了上面的错误。 我怎样才能解决这个问题? shell的成绩单如下:

136 upgraded, 0 newly installed, 0 to remove and 40 not upgraded. 1 not fully installed or removed. Need to get 182kB/143MB of archives. After this operation, 3671kB disk space will be freed. Do you want to continue [Y/n]? Get:1 http://ftp.us.debian.org testing/main libtiff4 3.9.4-3 [182kB] Fetched 182kB in 0s (318kB/s) debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another p rocess: Resource temporarily unavailable Setting up sysv-rc (2.88dsf-12) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another p rocess: Resource temporarily unavailable dpkg: error processing sysv-rc (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: sysv-rc localepurge: Disk space freed in /usr/share/locale: 0 KiB localepurge: Disk space freed in /usr/share/man: 0 KiB localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB localepurge: Disk space freed in /usr/share/omf: 0 KiB localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB Total disk space freed by localepurge: 0 KiB E: Sub-process /usr/bin/dpkg returned an error code (1) 

你可以看看什么进程正在locking文件:

 fuser -v /var/cache/debconf/config.dat 

根据程序的不同,你可能想尝试用kill -15类的东西来终止它。

在Debian上,您可以在psmisc软件包中findfuser 。 如果出现“fuser:command not found”错误,请安装此软件包。