<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
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:<br>
<br>
<small><tt> Installing :
compat-gcc-34-c++-3.4.6-4.x86_64 713/714</tt><tt><br>
</tt><tt>
</tt><tt><br>
</tt><tt>
Installing :
compat-libstdc++-296-2.96-138.i386 714/714</tt><tt><br>
</tt><tt>
Traceback (most recent call last):</tt><tt><br>
</tt><tt>
File "/usr/bin/yum", line 29, in <module></tt><tt><br>
</tt><tt>
yummain.user_main(sys.argv[1:], exit_code=True)</tt><tt><br>
</tt><tt>
File "/usr/share/yum-cli/yummain.py", line 285, in user_main</tt><tt><br>
</tt><tt>
errcode = main(args)</tt><tt><br>
</tt><tt>
File "/usr/share/yum-cli/yummain.py", line 219, in main</tt><tt><br>
</tt><tt>
return_code = base.doTransaction()</tt><tt><br>
</tt><tt>
File "/usr/share/yum-cli/cli.py", line 586, in doTransaction</tt><tt><br>
</tt><tt>
resultobject = self.runTransaction(cb=cb)</tt><tt><br>
</tt><tt>
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line
1588, in runTransaction</tt><tt><br>
</tt><tt>
self.rpmdb.dropCachedDataPostTransaction(list(self.tsInfo))</tt><tt><br>
</tt><tt>
File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line
343, in dropCachedDataPostTransaction</tt><tt><br>
</tt><tt>
pkg = self.searchNevra(n, e, v, r, a)</tt><tt><br>
</tt><tt>
File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line
1197, in searchNevra</tt><tt><br>
</tt><tt>
return self._search(name, epoch, ver, rel, arch)</tt><tt><br>
</tt><tt>
File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line
1271, in _search</tt><tt><br>
</tt><tt>
mi = ts.dbMatch('name', name)</tt><tt><br>
</tt><tt>
_rpm.error: rpmdb open failed</tt><tt><br>
</tt><tt>
yum invocation failed</tt></small><br>
<br>
<br>
<br>
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. <br>
<br>
I am not sure what the above error means, or where to begin on
resolving this problem. Thoughts?<br>
<br>
<br>
Thanks for the help!<br>
</body>
</html>