I upgraded from fedora 6 to fedora 7. Now, add /remove software doesn't respond. There are no errors. I tried yum from command line with this response:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named rpm
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.5 (r25:51908, Apr 10 2007, 10:29:13)
[GCC 4.1.2 20070403 (Red Hat 4.1.2-8)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
I then found an rpm for yum that should be suitable:
yum-3.2.0-1.fc7.src.rpm
I then issued command:
rpmbuild --rebuild yum*.src.rpm
This seems to work. At least there were no error messages at the conclusion.
I just tried Add/Remove Programs icon again and again, "Starting Add/Remove" appears but then it closes without any indication.
I looked in /etc/yum.repos.d per a hit on LQ. Here is what I found:
fedora-development.repo fedora-updates.repo
fedora.repo fedora-updates-testing.repo
Should I move / delete any of the above in repos.d or should I take the message about gcc 4.1.2 seriously? the YUMFAQ seems to think this is *not* a valid message, but a little background may be in order:
This whole fiasco started when I tried to install PDFTK. PDFTK had a prereq for a different gcj which, in turn, needed a different gcc. I installed the gcc 4.1.2 on f6. Since PDFTK still didn't work, I decided to install f7 because another forum member suggested it and f7 had a readily available rpm for PDFTK that others seemed to have success. Did my installation of gcc4.1.2 cause a problem for f7's python?
How would I fix that?