This problem arise only on Centos5 because yum defaults to:
- Code: Select all
multilib_policy=all
what means install all available architectures of package. For example, if you are running 64bit system, yum will first try to install package.x86_64, if it`s not available yum will fall back to i386 and noarch.
This was changed in Centos6 to default to:
- Code: Select all
multilib_policy=best
what means install the best packages for my architecture. On x86_64 system means 64bit package will be installed unless the package is only available in 32bit/noarch format.
Thus, we need to re-define 'multilib_policy' default value via /etc/yum.conf on Centos5:
- Code: Select all
multilib_policy=best
Further we can remove odd 32bit packages if they are not required.