Re: yum tries to install a mix of architectures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
"(x86_64|noarch)")


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!

Best!
Tim

On Tue, Mar 8, 2011 at 2:23 PM, Nico Kadel-Garcia <nkadel@xxxxxxxxx> wrote:
> On Tue, Mar 8, 2011 at 12:05 PM, Akemi Yagi <amyagi@xxxxxxxxx> wrote:
>> On Tue, Mar 8, 2011 at 8:54 AM, Johnny Hughes <johnny@xxxxxxxxxx> 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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux