موقع اجرای yum خطای زیرو میداد
[root@box ~]# 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.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, Aug 7 2019, 00:51:29)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
راهکار های طولانی زیادی بود ولی ساده ترینش این بود:
alias yum=
'LD_LIBRARY_PATH="/usr/lib64" yum '
echo
"alias yum='LD_LIBRARY_PATH=\"/usr/lib64\" yum '" > /etc/profile.d/my_yum.sh
منبع: