Oracle Linux 6 : Re-installing accidentally deleted "glibc" rpm's .

(Doc ID 2320556.1)

Last updated on NOVEMBER 14, 2017

Applies to:

Linux OS - Version Oracle Linux 6.9 with Unbreakable Enterprise Kernel [4.1.12] and later
Information in this document applies to any platform.

Symptoms

 On Oracle Linux 6, Server is inaccessible after erasing the library packages Or glibc packages by executing 'rpm -e --nodeps' command .

Before erase :
[root@Test6.8 ~]# rpm -qa |grep -i glibc
glibc-headers-2.12-1.192.el6.x86_64
glibc-common-2.12-1.192.el6.x86_64
glibc-2.12-1.192.el6.x86_64
glibc-devel-2.12-1.192.el6.x86_64

RPM's are erased using -e option :
[root@Test6.8 ~]# rpm -e --nodeps glibc
warning: %postun(glibc-2.12-1.192.el6.x86_64) scriptlet failed, exit status 127
warning: %triggerpostun(glibc-2.12-1.192.el6.x86_64) scriptlet failed, exit status 127

After erase :
[root@Test6.8 ~]# rpm -qa |grep -i 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

 

Changes

RPM's are deleted.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms