I broke Yum (by messing with Python libs)

Martin Cigorraga martincigorraga at gmail.com
Sun Mar 22 20:10:02 UTC 2015


Hi all,

After upgrading some python packages via pip I found I left Yum in a
non-working state:

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

   pycurl: libcurl link-time ssl backend (nss) is different from
compile-time ssl backend (none/other)

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.8 (default, Nov 10 2014, 08:19:18)
[GCC 4.9.2 20141101 (Red Hat 4.9.2-1)]

//

Now, what I did to fix the mess was:
1. Download python-pycurl-7.19.3.1-5.fc21.x86_64.rpm;
2. rpm --nodeps -e python-curl
3. rpm -ivh python-pycurl-7.19.3.1-5.fc21.x86_64.rpm.

So far so good, Yum isn't complaining anymore about the library version
mismatch; however I would like to know if I proceeded right or if there's
still any missing step(s) I should follow to ensure a proper system
integrity.

Thanks and have a nice Sunday!
(At least what's left of it :)
-Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150322/ea7b1189/attachment.html>


More information about the users mailing list