Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-19-2013, 01:44 AM   #1
LQ Newbie
Registered: Jun 2013
Posts: 15

Rep: Reputation: Disabled
yum not working

Hi after a performed a yum update last evening i havent been able to use yum.
I get the following error

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib/python2.7/lib-dynload/ undefined symbol: _PyInt_AsInt

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.7.3 (default, Jul 24 2012, 10:05:39)
[GCC 4.7.0 20120507 (Red Hat 4.7.0-5)]

can someone please help
Old 06-19-2013, 02:29 AM   #2
Registered: Aug 2011
Location: India
Distribution: Cent OS & Ubuntu
Posts: 107

Rep: Reputation: 3
have you tried uninstall python and reinstall?
Old 06-19-2013, 06:20 AM   #3
LQ Newbie
Registered: May 2013
Distribution: CentOS, Ubuntu, Debian
Posts: 22

Rep: Reputation: Disabled
Yeah the ultimate solution for the above problem is to get Pythong un-installed/removed completey and then re-installing it with RPM packages, seems that you are using Red Hat but the below link is for CentOS but hopefully will guide you through:
Old 06-20-2013, 03:15 AM   #4
LQ Newbie
Registered: Jun 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
hi thanks that helped !!!!!


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
Yum not working Zeno McDohl Linux - Newbie 3 05-17-2011 05:56 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 12:25 PM
Yum not working at all due to /usr/bin/yum syntax error aheusdens Linux - General 1 04-09-2010 05:15 PM
Yum Not Working Help! drumky87 Linux - Software 5 09-27-2008 06:33 PM
Yum not working acidblue Fedora 3 10-24-2004 09:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 AM.

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