after closing session, i may no longer login. i may login again after copying files of the /lib64/ directory of the working CentOS installation to non working one# rpm -qa | grep "glibc"
glibc-2.12-1.212.el6.x86_64
glibc-common-2.12-1.212.el6.x86_64
glibc-devel-2.12-1.212.el6.x86_64
glibc-headers-2.12-1.212.el6.x86_64
glibc-2.12-1.212.el6.i686
vzdummy-glibc-2.12-1.7.el6.noarch
# rpm -e --nodeps glibc-2.12-1.212.el6.x86_64
warning: %postun(glibc-2.12-1.212.el6.x86_64) scriptlet failed, exit status 127
# rpm -qa | grep "glibc"
-bash: /bin/grep: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
-bash: /bin/rpm: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
# wget https://url.here/file
-bash: /usr/bin/wget: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
# rpm -i glibc-2.12-1.212.el6.x86_64
-bash: /bin/rpm: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
# yum install glibc
-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory
But yum is corrupted and possibly other things too:
Please how can i again install glibc-2.12-1.212.el6.x86_64 or if impossible, which files are part of it so i copy them manually from working installation?Total download size: 4.4 M
Installed size: 13 M
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 300, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 229, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 494, in doTransaction
if self.conf.assumeno or not self.userconfirm():
AttributeError: 'YumConf' object has no attribute 'assumeno'