尝试安装任何内容时处理 libc6:i386 和 libtinfo5:i386 时出错“/var/cache/debconf/config.dat 已锁定...”

尝试安装任何内容时处理 libc6:i386 和 libtinfo5:i386 时出错“/var/cache/debconf/config.dat 已锁定...”

当我尝试通过 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)

可能存在什么问题?我该如何解决?

答案1

这是我在 DELL XPS 开发者版笔记本电脑上的 Ubuntu 15.10 上的工作:

sudo apt-get install --reinstall libc6-i386

从 /var/cache/debconf 中删除文件对我来说不起作用。每次运行升级时我都会收到错误。

答案2

问题评论中的有效答案...谢谢 Achu 和 Ican


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

相关内容