Why does yum fail with an error "Error Type: class 'yum.Errors.YumBaseError'" ?

Solution Verified - Updated -

Issue

  • While using yum , it failed with the following error message.
Error Type: <class 'yum.Errors.YumBaseError'>
Error Value: Error: rpmdb open failed
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3278, in <module>
  • Tried to rebuild the rpm database, but it gave the following error message about a thread lock.
rpmdb: Thread/process 17007/139970999985920 failed: locker has write locks

Environment

  • Red Hat Enterprise Linux 6.5

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