Never mind, on another mailing list was informed that the rpmdb versions between 5 and 6 are significantly different enough that this is just a Bad Idea.

Can check this one off the list :-)



On 7/5/2013 4:16 PM, Russell Jones wrote:
Hi all,

I am running into the following issue when doing a genimage on a 6.4 MN for a 5.4 compute image:


  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



Has anyone else ran into this before? I've tried several different things to attempt to resolve it with no success. The extra weird thing is, 6.3 works fine, it's only when the MN is upgraded to 6.4 that it bombs out. I checked the changelogs for rpm and yum between 6.3 and 6.4 and see nothing that would indicate a cause for this.

I am able to reproduce this by just running the yum command directly that genimage calls.

Thanks in advance for the advice!


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to