[CentOS] Selfmade ... Samba 3.0.20a on CentOS 4.0 x64

Wed Jan 11 13:07:04 UTC 2006
Dennis Gilmore <dennis at ausil.us>

Once upon a time Wednesday 11 January 2006 6:58 am, Johnny Hughes wrote:

> 1. Only have x86_64 and noarch packages installed ... plus 2 packages
> from the i386 distro only:  glibc.i686 and glibc-devel.i386.  Everything
> else must be x86_64 or noarch only.
>
> The way to get there is to first make it so you can see the arch when
> using RPM ... by adding this to your .rpmmacros for your build user:
>
> %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
>
> Then when you do commands, you can see the arch ...
>
> Then a command like this will show all ix86 packages:
>
> rpm -qa | grep i[3,5,6]86
>
> and this will remove all i386 and i686 packages (if any other than
> glibc.i686 or glibc-devel.i386 show up):
>
> rpm -e `rpm -qa | grep i[3,5,6]86`
>
> Then reinstall the required glibc files:
>
> yum install glibc.i686 glibc-devel.i386
>
> ------------------------
> This will make the machine not really usable as a workstation (no
> OpenOffice or other i386 items) ... SO, you might want to setup a chroot
> to build in.
another way to remove all i386 packages  is  
yum remove *.i386    
this will also remove i686 glibc package also
-- 
Dennis Gilmore,  RHCE  
<dennis AT ausil DOT us> http://www.ausil.us
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20060111/84137741/attachment-0005.sig>