[rhelv6-list] _rpm.error: rpmdb open failed

Russell Jones russell at jonesmail.me
Fri Jul 5 14:13:24 UTC 2013


Hi all,

I have an issue on 6.4 where doing a "yum install" into a rootdir 
utilizing RHEL 5 packages on a RHEL 6.4 box results in the following error:

   Installing : compat-gcc-34-c++-3.4.6-4.x86_64                         
713/714

   Installing : compat-libstdc++-296-2.96-138.i386                       
714/714
Traceback (most recent call last):
   File "/usr/bin/yum", line 29, in <module>
     yummain.user_main(sys.argv[1:], exit_code=True)
   File "/usr/share/yum-cli/yummain.py", line 285, in user_main
     errcode = main(args)
   File "/usr/share/yum-cli/yummain.py", line 219, in main
     return_code = base.doTransaction()
   File "/usr/share/yum-cli/cli.py", line 586, in doTransaction
     resultobject = self.runTransaction(cb=cb)
   File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1588, 
in runTransaction
     self.rpmdb.dropCachedDataPostTransaction(list(self.tsInfo))
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 343, in 
dropCachedDataPostTransaction
     pkg = self.searchNevra(n, e, v, r, a)
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1197, in 
searchNevra
     return self._search(name, epoch, ver, rel, arch)
   File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 1271, in 
_search
     mi = ts.dbMatch('name', name)
_rpm.error: rpmdb open failed
yum invocation failed



Doing the exact same command on a RHEL 6.3 box works fine. This only 
happens after I upgrade the server to 6.4. I've tried tracking down the 
changes in yum between 6.3 (3.2.29-30) and 6.4 (3.2.29-40) and do not 
see any changes that seem like they would result in this behavior.

I am not sure what the above error means, or where to begin on resolving 
this problem. Thoughts?


Thanks for the help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhelv6-list/attachments/20130705/ecc9848d/attachment.htm>


More information about the rhelv6-list mailing list