CentOs 6:安装openssl-devel给出multilib问题

时间:2014-02-23 07:31:06

标签: python-2.7 openssl pip centos6

我的VPS上安装了CentOs 6.4 64位,当我尝试安装openssl-devel时,它给出了下面给出的问题:

  

错误:找到Multilib版本问题。这通常意味着根          原因是其他东西和multilib版本检查只是          指出存在问题。例如:

     1. You have an upgrade for openssl which is missing some
        dependency that another package requires. Yum is trying to
        solve this by installing an older version of openssl of the
        different architecture. If you exclude the bad architecture
        yum will tell you what the root cause is (which package
        requires what). You can try redoing the upgrade with
        --exclude openssl.otherarch ... this should give you an error
        message showing the root cause of the problem.

     2. You have multiple architectures of openssl installed, but
        yum can only see an upgrade for one of those arcitectures.
        If you don't want/need both architectures anymore then you
        can remove the one with the missing update and everything
        will work.

     3. You have duplicate versions of openssl installed already.
        You can use "yum check" to get yum show these errors.

   ...you can also use --setopt=protected_multilib=false to remove
   this checking, however this is almost never the correct thing to
   do as something else is very likely to go wrong (often causing
   much more problems).

   Protected multilib versions: openssl-1.0.0-27.el6_4.2.i686 != openssl-1.0.1e-16.el6_5.4.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

任何人都可以帮我解决这个问题吗?

1 个答案:

答案 0 :(得分:1)

最后整理出来。

Here is the problem:
I was install python 2.7 First and then openssl-devel. Whenever i access any https repository it gives me error.

Here is the steps to solve the issue:

 1. Install openssl
 2. Install openssl-devel
 3. Reinstall Python 2.7