[CentOS] Yum Issues with Dev groups

Fri Aug 22 16:37:25 UTC 2008
Akemi Yagi <amyagi at gmail.com>

On Fri, Aug 22, 2008 at 9:02 AM, Joseph L. Casale
<JCasale at activenetwerx.com> wrote:
>>which xen rpms did you install? The ones from centos, or the ones from
>>xensource?
>
> Rolled my own from the 3.2.0 srpm.
>
>>Generally when building for x86_64, it's best to remove all traces of
>>x86 packages on the system.
>
> How do you do this at install? Wouldn't that be cleaner? I suppose a
> rpm command with a --queryformat ARCH string would list all that is x86
> and I couild pipe that into a remove command? Any ideas on how to do this
> cleanly?

First inspect what i386 packages are on your system:

rpm -qa --queryformat "%{name}-%{version}-%{release}.%{arch}\n" | grep i386

If you are sure you can delete all of them, then:

yum remove *.i386

will do the job.  It will ask Y/n, so look through the list before
hitting the Enter key :-D

Akemi