当我尝试通过 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)
Run Code Online (Sandbox Code Playgroud)
可能是什么问题,我该如何解决?
小智 6
这对我在 DELL XPS 开发人员版笔记本电脑上的 Ubuntu 15.10 上有用:
sudo apt-get install --reinstall libc6-i386
Run Code Online (Sandbox Code Playgroud)
从 /var/cache/debconf 中删除文件对我来说真的不起作用。每次运行升级时,我都会收到错误消息。
问题评论中的工作答案...谢谢 Achu 和 Ican
sudo rm /var/cache/debconf/* #no wories it's just a cache folder
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
16669 次 |
最近记录: |