[CentOS] yum tries to install a mix of architectures

Tue Mar 8 16:54:30 UTC 2011
Johnny Hughes <johnny at centos.org>

On 03/08/2011 09:51 AM, Tim Dunphy wrote:
> ok that's great! thank you!
> On Tue, Mar 8, 2011 at 10:29 AM, compdoc <compdoc at hotrodpc.com> wrote:
>>> But my question remains is there any way to instruct
>>> yum to automatically select the right package architecture
>>> through a setting in one of the config files rather than
>>> having to specify which architecture you are working with
>>> each time.

You would put this in your /etc/yum.conf file

exclude=*.i386 *.i686

I would also do this:

yum reinstall \*

The reason being that sometimes the /usr/share/ items (shared between
BOTH packages) get removed when removing multi arch RPMS.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20110308/f6928c39/attachment-0005.sig>