[CentOS] Yum Issues with Dev groups

Fri Aug 22 17:36:22 UTC 2008
Joshua Baker-LePain <jlb17 at duke.edu>

On Fri, 22 Aug 2008 at 9:37am, Akemi Yagi wrote

> 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

Actually, both of those commands should be looking for i[36]86, otherwise 
you'll miss, e.g., glibc.i686.

-- 
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF