How to repair yum when yum fails to execute properly due to system being broken

Solution Verified - Updated -

Issue

  • The system is broken due to missing/tampered/corrupted libraries and needs to be repaired from Rescue mode
  • After booting the system in Rescue mode using the DVD and entering the chroot, yum doesn't work due to system libraries being broken

Environment

  • Red Hat Enterprise Linux 6 and later
  • yum

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content