[Yum] 'exclude' option failed for yum on centos 5

seth vidal skvidal at linux.duke.edu
Thu May 3 23:50:18 UTC 2007


On Wed, 2007-05-02 at 11:44 -0700, Robinson Tiemuqinke wrote:
> Hi,
> 
>  'exclude' option fails for yum on centos 5. I tried
> to yum install a group on a x86_64 machine, but it
> installs both ix86 version and x86_64 version.
> 
>  So I added the following line to /etc/yum.conf,
> clears /var/cache/yum/, then run 'yum groupinstall
> Ruby', but it reports that ix86 version packages will
> be installed still.
> 
>  Any one know what's the correct syntax to exclude one
> or more 'arch' from group installation on centos 5?
> 
>  Please help.
> 
>  The following are from my /etc/yum.conf:
>  
> ...
>  exclude='*.i386 *.i486 *.i586 *.i686 *.athelon'

take the quotes off of there. It's treating that like a single item,
instead of a list of items.

just have it be:
exclude=*.i386 *.i486 *.i586 *.i686 *.athlon

see if that helps,
-sv







More information about the Yum mailing list