Re: Yum on 64 bit RedHat...

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1173662997.20424.3.camel@cutter>
On Tue, 2007-03-06 at 12:22 -0500, Scott Bambrough wrote:

> I'm assuming 'exclude: *.i?86' this is an option I would set in the 
> config file, and then yum would never consider an rpm that matches an 
> architecture specfied by the exclude, and that's why you don't recommend it.


why I don't recommend it is that whether anyone wants to believe it or
not people frequently need multiarch packages and it's not all that much
silliness to have them available for installs.



> This seems to work for me as well:
> 
> $ yum --exclude=*.i?86 install qt-devel
> 
> Though I'd prefer to be able to say something more definite like:
> 
> $ yum --include=x86_64 install qt-devel


so do that. includepkgs= is in the man page for yum.conf, too.



> $ yum --arch=x86_64 install qt-devel

x86_64 implies support for i386, i586, i686 as well - so setting the
arch that way wouldn't do anything that it doesn't do now.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.