Description of problem: The command "yum-arch -c" fails because the module "rpmUtils" has no attribute "checkSig". Here is the exact error message: Traceback (most recent call last): File "/usr/bin/yum-arch", line 23, in ? pullheaders.main(sys.argv[1:]) File "/usr/share/yum-cli/pullheaders.py", line 200, in main rpminfo = genhdrs(rpms, tempheaderdir, cmds) File "/usr/share/yum-cli/pullheaders.py", line 311, in genhdrs if rpmUtils.checkSig(rpmfn) > 0: AttributeError: 'module' object has no attribute 'checkSig' Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. mkdir /tmp/rpms ; cp <blah>/xorg*.i386.rpm /tmp/rpms 2. yum-arch -c /tmp/rpms 3. Actual results: Digesting rpms 2 % complete: xorg-x11-Xvfb-6.8.1-12.FC3.1.i386.rpm Traceback (most recent call last): File "/usr/bin/yum-arch", line 23, in ? pullheaders.main(sys.argv[1:]) File "/usr/share/yum-cli/pullheaders.py", line 200, in main rpminfo = genhdrs(rpms, tempheaderdir, cmds) File "/usr/share/yum-cli/pullheaders.py", line 311, in genhdrs if rpmUtils.checkSig(rpmfn) > 0: AttributeError: 'module' object has no attribute 'checkSig' Expected results: Digesting rpms 2 % complete: xorg-x11-Xvfb-6.8.1-12.FC3.1.i386.rpm Checking sig on xorg-x11-Xvfb-6.8.1-12.FC3.1.i386.rpm Additional info: The problem is that pullheaders.py tries to call rpmUtils.checkSig() when it should be using rpmUtils.oldUtils.checkSig().
Created attachment 107841 [details] This patch changes rpmUtils.checkSig to rpmUtils.oldUtils.checkSig()
Thanks, closed upstream.