Is it possible to recovery corrupted or removed 'rpmrc' file?

Solution Verified - Updated -

Issue

  • Is it possible to recovery corrupted rpmrc file?
  • Every rpm command is failing due a corrupted rpmrc file?
  • Trying to install or upgrade packages using yum or rpm give the following error:
error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • rpm Package

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.