LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-29-2015, 11:09 AM   #1
jenabim
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Rep: Reputation: Disabled
Yum is not working


Hi,
In my RHEL 7.1 whenever I type yum I am getting the following error:


# yum
There was a problem importing one of the Python modules required to run yum.
The error leading to this problem was: /usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks
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.5 (default, Apr 9 2015, 11:03:32) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]
If you cannot solve this problem yourself, please go to the yum faq at: http://yum.baseurl.org/wiki/Faq

and if i run sosreport I am getting this:

# sosreport
Fatal Python error: pycurl: libcurl link-time version is older than compile-time version Aborted (core dumped)
I already created a case in red hat and red hat support so far did nothing helpful to solve my problem.
please help.
Thank you
Mehrnaz
 
Old 10-29-2015, 12:57 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
yum is DEPENDENT!!! on the default installed version of python
and YES it is a older version

if you replace it you will KILL yum and some other tools

now

you can install a second python in a side by side set up


as to fixing this


call redhat
there are no if's and 's or but's on this
you WILL need there help

you will have to grab the version of python in the rhn repos
redhat tech support can provide you with a link and instructions on manually replacing the version you built with the official one

Last edited by John VV; 10-29-2015 at 12:58 PM.
 
Old 10-29-2015, 01:11 PM   #3
jenabim
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks, I will
 
  


Reply



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 working fine on server and ftp is working f9 but not able to config yum on client joj123 Red Hat 12 01-13-2015 06:03 PM
yum repolist issue (yum not working on Centos 5) sanjay2004 Programming 10 02-26-2014 05:57 AM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
Yum not working at all due to /usr/bin/yum syntax error aheusdens Linux - General 1 04-09-2010 04:15 PM
YUM not working namit Linux - Software 2 11-17-2005 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:55 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration