YUM doesn't not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@localhost rpm]# rpm -qv rpm
rpm-4.4.2-32

[root@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@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@localhost rpm]# rpm -qv python-rpm
package python-rpm is not installed


[root@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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux