Related Posts Plugin for WordPress, Blogger...

Question: 安裝 openldap-devel 發生 transaction check error 錯誤?

執行「yum -y install openldap-devel」安裝 openldap-devel 套件時發生 Transaction check error 錯誤,如下圖所示:


詳細資訊請參考 RedHat KB 158883 - yum update or yum install fails with package conflict between 64 bit and 32 bit package architectures ? 文章內容。簡單來說,發生這個錯誤的原因在於 32 bit 套件中有某些使用 64 bit 發生衝突所導致,修改「/etc/yum.conf」在執行安裝時排除即可:
$ grep -i exclude /etc/yum.conf
  exclude=kernel*,*.i?86     //新增此行
$ sudo yum -y install openldap-devel