[CentOS] Double packages

Fri May 22 09:08:32 UTC 2009
A. Kirillov <nevis2us at infoline.su>

> Hello Johan,
> 
>  thanks but i know that. I just want keep im my system packages x86_64. Why yum return packages i386 when $basearch is x86_64?
> 
> Regards,
> ---
> Eduardo Silvestre
> nfsi telecom, lda.
> 
> eduardo.silvestre at nfsi.pt
> Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301
> http://www.nfsi.pt/
> 
> ----- Original Message -----
> From: "Johan Swensson" <kupo at kupo.se>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Wednesday, May 20, 2009 4:42:07 PM GMT +00:00 GMT Britain, Ireland, Portugal
> Subject: Re: [CentOS] Double packages
> 
> yum install ncurses-devel.x86_64
> 
> 
> ----- Original Message -----
> From: "Eduardo Silvestre" <eduardo.silvestre at nfsi.pt>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Wednesday, May 20, 2009 5:33:08 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
> Subject: [CentOS] Double packages
> 
> 
> 
> 
> Hello, 
> 
> i'm trying install some packages with x64_86 architecture and got same packages doubling (32 and 64 bits). 
> How can i force yum just install packages x64_86 based? 
> 
> [root at www pfqueue-0.5.6]# yum install ncurses-devel 
> Loading "fastestmirror" plugin 
> Loading mirror speeds from cached hostfile 
> * base: mirrors.nfsi.pt 
> * updates: mirrors.nfsi.pt 
> * addons: mirrors.nfsi.pt 
> * extras: mirrors.nfsi.pt 
> Setting up Install Process 
> Parsing package install arguments 
> Resolving Dependencies 
> --> Running transaction check 
> ---> Package ncurses-devel.x86_64 0:5.5-24.20060715 set to be updated 
> ---> Package ncurses-devel.i386 0:5.5-24.20060715 set to be updated 
> --> Finished Dependency Resolution 
> 
> Dependencies Resolved 
> 
> ============================================================================= 
> Package Arch Version Repository Size 
> ============================================================================= 
> Installing: 
> ncurses-devel x86_64 5.5-24.20060715 base 1.7 M 
> ncurses-devel i386 5.5-24.20060715 base 1.6 M 
> 
> Transaction Summary 
> ============================================================================= 
> Install 2 Package(s) 
> Update 0 Package(s) 
> Remove 0 Package(s) 
> 
> Total download size: 3.3 M 

Add exclude=*.i?86 to /etc/yum.conf
You may still need some i386 packages on x86_64.
When you do, use
yum --disableexcludes=all ...
HTH