Description of problem: When I try to rebuild some srpm in mock, mock instantly stops with the following error. My system is 20060824 rawhide. Version-Release number of selected component (if applicable): mock-0.6.2-1.fc6 How reproducible: 100% Steps to Reproduce: 1. try: mock -r fedora-devel-i386-core --debug coreutils-5.97-8.src.rpm 2. 3. Actual results: [tasaka1@localhost SRPMS]$ mock -r fedora-devel-i386-core --debug coreutils-5.97-8.src.rpm Traceback (most recent call last): File "/usr/bin/mock", line 993, in ? main() File "/usr/bin/mock", line 988, in main ensure_filetype_srpm(srpms) File "/usr/bin/mock", line 862, in ensure_filetype_srpm ts = rpmUtils.transaction.initReadOnlyTransaction() AttributeError: 'module' object has no attribute 'transaction' Expected results: mock can proceed. Additional info: Perhaps on 20060823 rawhide it was okay.
I am seeing this as well... on two diffrent devel/rawhide systems. Let me know if I can help test or otherwise track down the issue.
To deal with this, currently I have to downgrade yum to FC6T2 yum(-2.9.3-2) .
Thanks for the workaround. Even 2.9.4-4 seems to work fine, it's 2.9.5-1 thats causing the issue.
Had to explicitly import rpmUtils.transaction due to changes in rpmUtils
Well; mock-0.6.4-1.fc6 and yum-2.9.5-2 are okay. Thank you.