レスキューモードでパッケージをインストールまたは再インストールする方法
Issue
- 重要な
glibcパッケージが削除されました。どうすれば再インストールできますか? - システム上の
glibcライブラリーが誤って削除され、システムにログインできなくなりました。 - "/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory" エラーが
Red Hat Enterprise Linuxシステムでコマンドを実行すると表示されます。 - 重要なパッケージがシステムから削除された後、レスキューモードで
chrootできません。
# /bin/mkdir rpm
-bash: /bin/mkdir: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
Environment
- Red Hat Enterprise Linux
- 6
- 7
- 8
- 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.