dpkg:error handling包libc-bin( – configure)
升级到Ubuntu 16.04后,我无法更新我的系统。 平常之后:
apt-get upgrade
我收到此错误:
Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up libc-bin (2.23-0ubuntu3) ... Segmentation fault (core dumped) /sbin/ldconfig.real: Can't stat /lib/i686-linux-gnu: No such file or directory /sbin/ldconfig.real: Can't stat /usr/lib/i686-linux-gnu: No such file or directory /sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once /sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once Segmentation fault (core dumped) dpkg: error processing package libc-bin (--configure): subprocess installed post-installation script returned error exit status 139 Errors were encountered while processing: libc-bin E: Sub-process /usr/bin/dpkg returned an error code (1)
有想法该怎么解决这个吗? apt-get clean
和apt-get -f install
什么也没做。
我曾经在这里遇到同样的错误,我做了以下命令:
sudo apt-get --reinstall install libc-bin
它工作,它重新安装了libc-bin
包并解决了这个问题。
希望能帮助到你
这里的原因似乎是损坏的/var/cache/ldconfig/aux-cache
。
解决方案是(以root身份):
rm /var/cache/ldconfig/aux-cache
然后执行
/sbin/ldconfig
我有这个问题,结果certificate是限制相关的。 这解决了它:
limit datasize 2000M