После обновления до 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
пакет и решило проблему.
Hope это помогает
У меня была эта проблема, это оказалось связанными пределами. Это разрешило его:
limit datasize 2000M
Здесь причиной, казалось, был поврежденный /var/cache/ldconfig/aux-cache
.
Решение состояло в том, чтобы сделать (как корень):
rm /var/cache/ldconfig/aux-cache
И впоследствии выполнитесь
/sbin/ldconfig