[CentOS] Antwort: yum tries to install a mix of architectures

Mon Mar 7 15:01:14 UTC 2011
Andreas Reschke <Andreas.Reschke at behrgroup.com>

centos-bounces at centos.org schrieb am 07.03.2011 15:41:04:

> Tim Dunphy <bluethundr at gmail.com> 
> Gesendet von: centos-bounces at centos.org
> 
> 07.03.2011 15:41
> 
> Bitte antworten an
> CentOS mailing list <centos at centos.org>
> 
> An
> 
> CentOS mailing list <centos at centos.org>
> 
> Kopie
> 
> Thema
> 
> [CentOS] yum tries to install a mix of architectures
> 
> Hello,
> 
>  On my centos boxes whenever I try to install packages I get a mix of
> packages from the repos that are both i386 and x86_64 in
> archictecture:
> 
> 
===============================================================================================================================================================================================================
>  Package                                             Arch
>                              Version
>               Repository                                    Size
> 
===============================================================================================================================================================================================================
> Installing:
>  boost-devel                                         i386
>                              1.33.1-10.el5
>               base                                         4.3 M
>  boost-devel                                         x86_64
>                              1.33.1-10.el5
>               base                                         4.4 M
> Installing for dependencies:
>  boost                                               i386
>                              1.33.1-10.el5
>               base                                         863 k
>  boost                                               x86_64
>                              1.33.1-10.el5
>               base                                         861 k
>  libicu                                              i386
>                              3.6-5.11.4
>               base                                         5.2 M
>  libicu                                              x86_64
>                              3.6-5.11.4
>               base                                         5.2 M
> 
> Transaction Summary
> 
===============================================================================================================================================================================================================
> Install       6 Package(s)
> Upgrade       0 Package(s)
> 
> 
> 
> 
> Without having so specify the arch on each yum command how can I
> automatically prune my yum repo files so that it will only grab
> packages that relate to the architecture I'm running?
> 
> 
> Thanks in advance!
> 
> 
> -- 
> GPG me!!
> 
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Hi Tim Dunphy,
that's a normal way when you're using x86_64. Do you need 32bit software? 
If not you can remove them with "yum remove *386".
 
 
Gruß 
Andreas Reschke
________________________________________________________________
Unix/Linux-Administration
Andreas.Reschke at behrgroup.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110307/7b070d29/attachment-0005.html>