Recently yum changed it's API so that the conditionals dict should only have package names in it, rather than package objects. This breaks livecd-tools somewhere around line 105 of yuminst.py Traceback (most recent call last): File "/usr/lib64/python2.5/pdb.py", line 1213, in main pdb._runscript(mainpyfile) File "/usr/lib64/python2.5/pdb.py", line 1138, in _runscript self.run(statement, globals=globals_, locals=locals_) File "/usr/lib64/python2.5/bdb.py", line 366, in run exec cmd in globals, locals File "<string>", line 1, in <module> File "/usr/bin/livecd-creator", line 132, in <module> sys.exit(main()) File "/usr/bin/livecd-creator", line 115, in main creator.install() File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 638, in install self.__deselect_packages(ayum) File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 595, in __deselect_packages ayum.deselectPackage(pkg) File "/usr/lib/python2.5/site-packages/imgcreate/yuminst.py", line 103, in deselectPackage if x in pkgs: File "/usr/lib/python2.5/site-packages/yum/packages.py", line 265, in __eq__ if comparePoEVR(self, other) == 0 and self.arch == other.arch and self.name == other.name: File "/usr/lib/python2.5/site-packages/yum/packages.py", line 48, in comparePoEVR (e2, v2, r2) = (po2.epoch, po2.version, po2.release) AttributeError: 'str' object has no attribute 'epoch'
Created attachment 314092 [details] Patch to work with the yum api change Attached a patch to handle the API change.
This then breaks compatibility with using old yum. We need to fix it in yum instead of going through and fixing up every user of the yum API
This got fixed in 3.2.19