Red Hat Bugzilla – Bug 75388
redhat-config-packages crashes on startup
Last modified: 2007-04-18 12:47:18 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
when starting redhat-config-packages from the command line it crashes with
python traceback error. this did not happen when i first installed redhat 8.0. i
don't know what changed to make this error happen. the traceback that python
spits out follows:
-------- STARTS HERE --------
Traceback (most recent call last):
File "/usr/share/redhat-config-packages/MainWindow.py", line 163, in ?
comps = im.readCompsViaMethod(hdlist, progress.update)
File "/usr/share/redhat-config-packages/method.py", line 488, in
update_method = update_method)
File "/usr/share/redhat-config-packages/comps.py", line 387, in __init__
File "/usr/share/redhat-config-packages/comps.py", line 471, in readCompsFile
File "/usr/share/redhat-config-packages/comps.py", line 420, in setupStateDicts
for prov in h[rpm.RPMTAG_PROVIDES]:
TypeError: iteration over non-sequence
-------- ENDS HERE --------
i hope this helps.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. type redhat-config-packages on the command line
2. hit enter
3. watch it crash :)
Actual Results: the app crashed.
Expected Results: the app used to run, i was expecting it to continue to run. :)
i figured out what caused the problem. earlier today i installed the mozilla
.src.rpm for testing using redhat-config-packages. this seems to have replaced
the .i386.rpm in the rpm database because when i ran `rpm -q --provides mozilla`
it gave me an empty list.
i uninstalled and re-installed all of the mozilla .i386.rpm's and the problem
should it be possible to install .src.rpm's using redhat-config-packages?
No, rpmlib wasn't acting how I expected it to. Fixed in CVS so that you can't
run into that problem anymore (both by verifying that there are provides before
iterating over them and not allowing the installation of src.rpms so that they
end up in the rpmdb)
Long fixed, RH 8 not supported, and magicdev and s-c-p aren't shipped anymore.
(Pirut replaced s-c-p.) Closing.