No module named rpm centos 4 yum
Hi all,
I have some problems with my server, I treid to install bigbrotherbot for my gameservers, only i removed a the python package, what yum is using. I have googled all the time but no solution found. I get this error, while using the command yum : Code:
No module named rpm Code:
rpm -qR yum Code:
/usr/bin/python I have searced over this forum, but all the topics about this wont help me. In my /bin/ folder i have a RPM file, so its on the system. And in my /usr/lib folder i have a RPM folder with the following in it: Code:
athlon-linux macros rpmdb_checkpoint rpmdb_upgrade rpmrc Its a damm problem up here, i can use rpm normal without errors. Thanks already. |
well that's a python error, so it's not rpm itself it's complaining about, but the python module for it, which comes form rpm-python. try forcing a reinstallation of that rpm.
|
Ill get the following.
Code:
[root@g15 ~]# rpm -Uvh rpm-python-4.4.2.4-1.src.rpm The it seems he install: Code:
[root@g15 ~]# rpm -Uvh rpm-python-4.4.2.4-1.src.rpm |
Quote:
install rpm-python-4.4.2.4-1.rpm |
I have that file downloaden and he tell me the following:
Code:
rpm -Uvh rpm-build-4.4.2-48.el5.i386.rpm And then ill get the following error: Quote:
|
how is that the same file? you want rpm-python and you're trying to install rpm-build... huh?
|
also THAT FILE "elfutils-libs-0.139-1.fc11.i386.rpm" is for the TESTING/DEV fedora 11 .NOT for CentOS 5.2( current)
please install the 3d party centos repo files .and do not go blindly downloading incompatible rpm's http://wiki.centos.org/TipsAndTricks/YumAndRPM http://www.centos.org/ http://www.centos.org/docs/5/ http://wiki.centos.org/ --------- try this in the terminal run Code:
su - ( or sudo -- if set-up) |
All times are GMT -5. The time now is 02:35 AM. |