YUM doesn't not work

seba bino sebas0 at gmail.com
Tue Jan 30 18:34:38 UTC 2007


Would appreciate help in solving this one.
Spent a few days on this problem with no luck.
Can't run yum. I think this is related to my accidental removal of
site-packages.
That i have tried to recover.
This is my first FC post and am not sure if this output is of any use?

[root at localhost rpm]# rpm -qv rpm
rpm-4.4.2-32

[root at localhost rpm]# rpm -Uv python-rpm-4.0.5-1.i386.rpm
error: Failed dependencies:
        rpm = 4.0.5 is needed by python-rpm-4.0.5-1.i386
        python < 2.3 is needed by python-rpm-4.0.5-1.i386
        librpm-4.0.4.so is needed by python-rpm-4.0.5-1.i386
        librpmdb-4.0.4.so is needed by python-rpm-4.0.5-1.i386
        librpmio-4.0.4.so is needed by python-rpm-4.0.5-1.i386
        rpm-python is needed by (installed) yum-3.0-6.noarch
        rpm-python >= 4.4 is needed by (installed) smart-0.42-40.fc6.i386
[root at localhost rpm]# rpm -ivh python-rpm-4.0.5-1.i386.rpm
error: Failed dependencies:
        rpm = 4.0.5 is needed by python-rpm-4.0.5-1.i386
        python < 2.3 is needed by python-rpm-4.0.5-1.i386
        librpm-4.0.4.so is needed by python-rpm-4.0.5-1.i386
        librpmdb-4.0.4.so is needed by python-rpm-4.0.5-1.i386
        librpmio-4.0.4.so is needed by python-rpm-4.0.5-1.i386
[root at localhost rpm]# rpm -qv python-rpm
package python-rpm is not installed


[root at localhost rpm]# yum
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.4.4 (#6, Jan 29 2007, 08:40:46)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-51)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq




More information about the users mailing list