seth vidal wrote:
On Tue, 2007-03-06 at 12:00 -0500, Scott Bambrough wrote:
Hi,
I'm using yum 3.0 on RHEL4 64 bit. I have the 64 bit version of the
package qt (x86_64) installed, and attempted to install qt-devel using
the command:
$ yum install qt-devel
This attempted to install the x86_64 package and the i386 packages for
qt and qt-devel.
I was able to get around this by specifying:
$ yum install qt-devel-{VERSION}.x86-64
I was wondering if there was an simpler way to restrict yum to only a
specific architecture when more than one is available?
you can use excludes like: exclude: *.i?86
though, I wouldn't recommend it.
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.
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
or
$ yum --arch=x86_64 install qt-devel
to restrict yum to packages with the x86_64 architecture.
Scott
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum