dpkg在尝试安装任何东西时为libc6:i386和libtinfo5:i386返回了错误代码(1)

当我尝试通过apt-get或synaptic安装任何东西时,我会继续这样做

... Fetched 23.6 MB in 1min 10s (336 kB/s) debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable Setting up libc6:i386 (2.15-0ubuntu10.3) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing libc6:i386 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of libtinfo5:i386: libtinfo5:i386 depends on libc6 (>= 2.4); however: Package libc6:i386 is not configured yet. dpkg: error processing libtinfo5:i386 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: libc6:i386 libtinfo5:i386 E: Sub-process /usr/bin/dpkg returned an error code (1) 

任何帮助请?

问题评论中的工作答案……谢谢Achu和Ican


 sudo rm /var/cache/debconf/* #no wories it's just a cache folder sudo apt-get update 

这对我在DELL XPS Developer版笔记本电脑上的Ubuntu 15.10有用:

 sudo apt-get install --reinstall libc6-i386 

从/ var / cache / debconf中删除文件并不适用于我。 每次运行升级时我都会收到错误。