LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   OMG Yum just broke (https://www.linuxquestions.org/questions/linux-newbie-8/omg-yum-just-broke-401730/)

Infernal211283 01-10-2006 03:36 PM

OMG Yum just broke
 
First time i encounter this.. thought that those package managers don't make mistakes but i guess they aren't perfect...

I just updated my system using yum and now yum itself won't work saying:



[root@fedora DOWNLOADS]# yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named urlgrabber

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.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]



I tried to manually reintall the yum package yum-2.4.2-65.rhfc4.at.i386.rpm
and the python-urlgrabber-2.9.6-1.2.el4.rf.noarch.rpm
but it didnt help... i think i'm lost :(

bosewicht 01-10-2006 04:14 PM

Try
# rpm -q urlgrabber
from a terminal to see what version you have installed. then do the same for yum

spooon 01-10-2006 07:04 PM

Try not to use the ATrpms repo with other repos; I see that it has taken over your Yum package and probably others.

Infernal211283 01-12-2006 01:14 AM

Will i have to reinstall my entire system?

bosewicht 01-12-2006 11:56 AM

you shouldn't. you downloaded urlgrabber?
do
rpm -U urlgrabber
or
rpm --force urlgrabber

Infernal211283 01-14-2006 07:42 AM

[infernal@fedora DOWNLOADS]$ sudo rpm --force -Uhv python-urlgrabber-2.9.6-1.2.el4.rf.noarch.rpm
Password:
Preparing... ########################################### [100%]
1:python-urlgrabber ########################################### [100%]
[infernal@fedora DOWNLOADS]$ yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named urlgrabber

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.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]

[infernal@fedora DOWNLOADS]$ rpm -hiv python2.4-2.4-1pydotorg.i386.rpm
warning: python2.4-2.4-1pydotorg.i386.rpm: Header V3 DSA signature: NOKEY, key ID 95ccbcff
error: Failed dependencies:
libcrypto.so.4 is needed by python2.4-2.4-1pydotorg.i386
libdb-4.2.so is needed by python2.4-2.4-1pydotorg.i386
libssl.so.4 is needed by python2.4-2.4-1pydotorg.i386

How can i go around this problem without yum?

Thank you for your patience.


All times are GMT -5. The time now is 10:33 PM.