Topic: How to get CentOS to use Remi for both x86 and x86_64?

Per title, how can yum be configured to check Remi for both the x86 and x86_64 packages (certain RPMs install both on a 64-bit arch, such as MySQL):

For example, when I try to install the base mysql package, I get:

...
Dependencies Resolved

==================================================================================
Package           Arch          Version                     Repository      Size
==================================================================================
Installing:
mysql             i386          5.0.77-4.el5_5.4            updates        4.8 M
mysql             x86_64        5.1.56-1.el5.remi           remi           1.1 M
Installing for dependencies:
mysql-libs        x86_64        5.1.56-1.el5.remi           remi           1.7 M
ncurses           i386          5.5-24.20060715             base           1.1 M
perl              x86_64        4:5.8.8-32.el5_5.2          updates         12 M
perl-DBI          x86_64        1.52-2.el5                  base           600 k

Transaction Summary
==================================================================================
Install       6 Package(s)
Upgrade       0 Package(s)


Obviously, you can see it is pulling the x86_64 mysql package from remi, but the i386 package is being pulled from regular CentOS updates, and a result, there's a big version mismatch. I'd like it to install the remi release for both archs for consistency in versions.

Any thoughts, sans disabling the regular CentOS updates repo (as there is still a need for it for other packages)?

Thanks.

Re: How to get CentOS to use Remi for both x86 and x86_64?

Probably, the simplest way is to remove all the i386 packages, you probably don't need.

So

yum remove glibc.i686

This will make a lot of clean ups.

For me, this is an old installation/yum bug (in EL-5 as in old fedora, which is fixed in EL6 and recent fedora)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: How to get CentOS to use Remi for both x86 and x86_64?

Ahhh.... the magic bean. Thank you very much.