title: Linux CentOS YUM Error Package Requires - libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
body: <p>I'm getting errors when I try to do a "yum update" that I'm unsure how to resolve. Below is the error message:</p>
  
  <pre><code>--&gt; Finished Dependency Resolution
  Error: Package: nginx-1.4.7-1.el6.ngx.x86_64 (nginx)
             Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
  </code></pre>
  
  <p>When I try to upgrade (which I believe is the best step forward) it these me there is "nothing to do" - like using the following line:</p>
  
  <p>like:</p>
  
  <pre><code>sudo yum reinstall openssl
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>sudo yum install http://mirror.centos.org/centos/6/os/x86_64/Packages/openssl-1.0.1e-15.el6.x86_64.rpm
  
  Examining /var/tmp/yum-root-qbBKfF/openssl-1.0.1e-15.el6.x86_64.rpm: openssl-1.0.1e-15.el6.x86_64
  /var/tmp/yum-root-qbBKfF/openssl-1.0.1e-15.el6.x86_64.rpm: does not update installed package.
  Error: Nothing to do
  </code></pre>
  
  <p>I have tried cleaning out the YUM database</p>
  
  <pre><code>rpm -e --justdb --nodeps openssl
  </code></pre>
  
  <p>and </p>
  
  <pre><code>sudo rpm -ivh --force http://mirror.centos.org/centos/6.5/updates/x86_64/Packages/openssl-1.0.1e-16.el6_5.4.x86_64.rpm
  </code></pre>
  
  <p>and these both appear to put on the required packages when I run "rpm -q --provides openssl" however I then get this error message in YUM:</p>
  
  <pre><code>sudo yum update
  There was a problem importing one of the Python modules
  required to run yum. The error leading to this problem was:
  
     /lib64/libcrypto.so.10: version `OPENSSL_1.0.1_EC' not found (required by /usr/lib64/libssl.so.10)
  
  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.6.9 (unknown, Feb 24 2014, 11:42:49)
  [GCC 4.6.3 20120306 (Red Hat 4.6.3-2)]
  
  If you cannot solve this problem yourself, please go to
  the yum faq at:
    http://yum.baseurl.org/wiki/Faq
  </code></pre>
  
  <p>Can anyone suggest anyother things I should try?</p>
  
  <p>I can't seem to update, force an update, clean Yum DB and reinstall. The clean DB and Force do get the package on but them YUM can't find what OPENSSL_1.0.1_EC package it needs.</p>
  
  <p>I tried upgrading with these 2 packages:</p>
  
  <pre><code>http://mirror.centos.org/centos/6.5/updates/x86_64/Packages/openssl-1.0.1e-16.el6_5.4.x86_64.rpm
  http://mirror.centos.org/centos/6/os/x86_64/Packages/openssl-1.0.1e-15.el6.x86_64.rpm
  </code></pre>