Re: CentOS 5.3 on X86_64: yum installs both i386 and x86_64 packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 12 Oct 2009 16:48:44 -0500
Patrick McEvoy wrote:

> Is it advisable to clean up the system by deleting the i386 rpms?

It depends on what you're doing.  If you really need some package which does
not exist in x86_64 version, use i386. If all you need exists in x86_64, there
is no need to use i386 packages.

> If so  how do you know which ones to remove and which ones CentOS or RHEL 
> require to be installed?

You don't actually require any i386 rpms  at all if you're not using any i386
programs.

You may find the output of the following two commands interesting:

rpm -qa --qf "%{NAME}.%{ARCH}\n" | grep -v 'x86_64\|noarch\|gpg-pubkey' > list

rpm --test -e $(cat list)

You can remove all i386 packages with this command:

yum remove \*.i?86

If yum tells you that it's removing something you need at this point, then you
should obviously stop and fix it (with excludes or whatever) before continuing.




-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux