看起来 libc 被阻止了并且 ldconfig 左右分段错误导致了问题......
当我尝试运行apt-get install --reinstall libc6
重新安装 libc(并且希望是 ldconfig...)时的输出:
dpkg: error processing fglrx-updates (--confiugre):
subprocess installed post-installation script returned error exit status 139
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Segmentation fault (core dumped)
/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 libc-bin (--configure):
subprocess installed post-installation script returned error exit status 139
No apport report written because MaxReports is reached already
Errors were encountered while processing:
libgl1-mesa-glx
libgl1-mesa-glx:i386
libqt4-opengl
libqt4-opengl:i386
fglrx-updates
libc-bin
我认为您需要的其他调试信息:
$ uname -a
Linux linux 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04..3 LTS
Release: 12.04
Codename: precise
任何帮助都将不胜感激,我很乐意让我的盒子重新启动并运行。
编辑:我进一步往下看...我注意到我的处理器(Intel i7)的架构名称已从 x86_64 更改为 amd64。所以我想,嘿,这样apt-get install --reinstall linux
就好了,是吗?
现在我只有 Grub 提示符。我可以 ls 并查看我的驱动器。我现在该做什么 :(
答案1
ldconfig deferred processing now taking place
Segmentation fault (core dumped)
如果 ldconfig 也出现这种情况,我非常怀疑你能修复它。你可以尝试手动执行 ldconfig:
sudo ldconfig -vp
您也可以尝试手动下载该libc-bin
包:
apt-get download libc-bin
sudo dpkg -i libc-bin*.deb
fglrx-updates
为了安全起见,我也会移除包裹。
sudo dpkg --purge fglrx-updates