所以我愚蠢地在root下运行了一个yum install命令,该命令有很多依赖项,可能会覆盖很多模块甚至直到libc级别。
我正在运行64位Linux Ubuntu 14.04框,应该使用apt-get。
我现在运行的每个命令(有些像'cd')给我如下所示......
无论如何我可以在这个盒子上重新安装libc。我目前通过livecd和chrooting访问已安装的磁盘。
感谢您的帮助。将
root@ubuntu:/# ll
ls: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib/x86_64-linux-gnu/libacl.so.1)
ls: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /lib/x86_64-linux-gnu/libselinux.so.1)
ls: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib/x86_64-linux-gnu/libselinux.so.1)
ls: /lib64/libc.so.6: version `GLIBC_2.8' not found (required by /lib/x86_64-linux-gnu/libselinux.so.1)
ls: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib/x86_64-linux-gnu/libpcre.so.3)
root@ubuntu:/# less
less: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib/x86_64-linux-gnu/libncursesw.so.5)
less: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /lib/x86_64-linux-gnu/libncursesw.so.5)
less: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib/x86_64-linux-gnu/libtinfo.so.5)
less: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by /lib/x86_64-linux-gnu/libtinfo.so.5)
root@ubuntu:/# ls
ls: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib/x86_64-linux-gnu/libacl.so.1)
ls: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /lib/x86_64-linux-gnu/libselinux.so.1)
ls: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib/x86_64-linux-gnu/libselinux.so.1)
ls: /lib64/libc.so.6: version `GLIBC_2.8' not found (required by /lib/x86_64-linux-gnu/libselinux.so.1)
ls: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /lib/x86_64-linux-gnu/libpcre.so.3)