LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 04-10-2009, 07:27 AM   #1
cormanstnl
LQ Newbie
 
Registered: Jul 2007
Posts: 22

Rep: Reputation: 0
yum on redhat 5.3 not work python module problem


Since a update, I'am not enable to use yum.

If I run yum, I have :
# yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib64/python2.4/site-packages/rpm/_rpmmodule.so: undefined symbol: rpmdbCheckTerminate

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.3 (#1, Sep 17 2008, 16:07:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-41)]

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

I googled and check the YumFaq and no result
WARNING : I use a 64 arch.

Could you help me ?
thanks
 
Old 04-10-2009, 09:26 AM   #2
unixmen
Member
 
Registered: Jan 2009
Posts: 39

Rep: Reputation: 16
Quote:
Originally Posted by cormanstnl View Post
Since a update, I'am not enable to use yum.

If I run yum, I have :
# yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib64/python2.4/site-packages/rpm/_rpmmodule.so: undefined symbol: rpmdbCheckTerminate

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.3 (#1, Sep 17 2008, 16:07:08)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-41)]

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

I googled and check the YumFaq and no result
WARNING : I use a 64 arch.

Could you help me ?
thanks

reinstall you python but not with yum remove .
because the python packages version is not compatible with the yum version .


just
rpm -qa | grep python
rpm -e --nodeps python...

wget of download the Pyhton package from Redhat site
rpm -ivh python .
 
  


Reply

Tags
redhat, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Installing Yum: "No module named yum" braclayrab Linux - Newbie 9 08-04-2009 06:57 PM
problem with python and yum... please read?!!!!! negrito211 Linux - Software 2 02-17-2009 10:13 AM
Problem importing python module...cant install anything!!! bpedman Linux - Software 0 02-07-2007 08:02 PM
BloGTK doesn't work - python gtkhtml2 module not found vharishankar Debian 2 11-21-2006 09:29 PM
Problem with Python? Yum? Daenris Linux - Software 1 04-08-2005 10:31 AM


All times are GMT -5. The time now is 11:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration