Did the upgrade from FC6 to F7. Then did a: # yum upgrade 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 Now I can't use yum!!!!
please run: rpm -qa | grep rpm did anything odd or bad happen during your upgrade?
If fully up-to-date F6 is updated to F7 without having F7 updates repository enabled, rpm wont get updated...
[root@localhost rick]# rpm -qa | grep rpm rpm-python-4.4.2.1-1.fc6 freshrpms-release-1.1-1.fc rpm-build-4.4.2.1-1.fc6 rpm-4.4.2.1-1.fc6 redhat-rpm-config-8.0.45-15.fc7 rpm-devel-4.4.2.1-1.fc6 rpm-libs-4.4.2.1-1.fc6 Normal result for FC6 to F7 upgrade.
Panu, oh, this is b/c the f7 base rpm wasn't newer than fc6 updates. Thanks Rick, Download these files: http://download.fedora.redhat.com/pub/fedora/linux/updates/7/i386/rpm-4.4.2.1-1.fc7.i386.rpm http://download.fedora.redhat.com/pub/fedora/linux/updates/7/i386/rpm-build-4.4.2.1-1.fc7.i386.rpm http://download.fedora.redhat.com/pub/fedora/linux/updates/7/i386/rpm-devel-4.4.2.1-1.fc7.i386.rpm http://download.fedora.redhat.com/pub/fedora/linux/updates/7/i386/rpm-libs-4.4.2.1-1.fc7.i386.rpm http://download.fedora.redhat.com/pub/fedora/linux/updates/7/i386/rpm-python-4.4.2.1-1.fc7.i386.rpm and run: rpm -Uvh those_files then see if yum works again.
# rpm -Uvh rpm*rpm # yum -y update Setting up Update Process fedora 100% |=========================| 2.1 kB 00:00 primary.sqlite.bz2 100% |=========================| 3.8 MB 00:05 updates 100% |=========================| 2.3 kB 00:00 primary.sqlite.bz2 100% |=========================| 256 kB 00:10 ... Great!!!
This is a BUG. Not a NOTABUG. Will we see it in F7 -> F8 ????