[CentOS] yum tries to install a mix of architectures

Tim Dunphy bluethundr at gmail.com
Fri Mar 11 19:32:56 UTC 2011

This is pretty much the most useful thread I've ever been a part of on
the CentOS mailing list!!

Thanks a ton to everyone who helped!!

 Also the senior SA I work with gave me this little gem today:

 yum -y remove $(yum list installed |  awk '{print $1}'| egrep -v

But of course make SURE you uname -a and make sure the arch is right
before you do because of the -y flag or of course just remove it if
that makes you more comfortable!


On Tue, Mar 8, 2011 at 2:23 PM, Nico Kadel-Garcia <nkadel at gmail.com> wrote:
> On Tue, Mar 8, 2011 at 12:05 PM, Akemi Yagi <amyagi at gmail.com> wrote:
>> On Tue, Mar 8, 2011 at 8:54 AM, Johnny Hughes <johnny at centos.org> wrote:
>>> I would also do this:
>>> yum reinstall \*
>>> The reason being that sometimes the /usr/share/ items (shared between
>>> BOTH packages) get removed when removing multi arch RPMS.
>> The above lines added to the FAQ:
>> http://wiki.centos.org/FAQ/General?action=show#head-357346ff0bf7c14b0849c3bcce39677aaca528e9
> Take a look at http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Migration_Planning_Guide/ch09s05.html.
> The better solution, at least for CentOS 5,  is to add this to /etc/yum.conf
> # Disable auto-installation of i386 and x86_64
> #multilib_policy=all
> multilib_policy=best
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

More information about the CentOS mailing list