CDH6.2.1安裝時出現Error: Multilib version problems found Protected multilib versions: libcom_err 問題

如題,在執行啓動agent相關進程的時候報瞭如下錯誤:

Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:
       
         1. You have an upgrade for libcom_err which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of libcom_err 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 libcom_err.otherarch ... this should give you an error
            message showing the root cause of the problem.
       
         2. You have multiple architectures of libcom_err 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 libcom_err 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: libcom_err-1.41.12-24.el6.i686 != libcom_err-1.42.7.wc1-7.el6.x86_64

根據提示是版本衝突導致的,中間經歷多次解決方式,最後整理完,按如下解決:

  • 1、卸載其中一個版本的libcom_err
rpm --erase --nodeps libcom_err-1.42.7.wc1-7.el6.x86_64

執行完後會發現yum無法使用了,重新安裝libcom_err即可。

  • 2、下載所需libcom_err包並安裝
地址:http://mirror.centos.org/centos/6/os/x86_64/Packages/libcom_err-1.41.12-24.el6.x86_64.rpm

rpm -ivh libcom_err-1.41.12-24.el6.x86_64.rpm
  • 3、重新執行agent的安裝即可

sudo yum install -y cloudera-manager-agent cloudera-manager-daemons

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章