Thanks Johnny, I'll try that and see how much more I can reduce a minimum install.
On 7/16/06, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Sun, 2006-07-09 at 10:36 -0500, Erick Perez wrote:
How can I make sure my x86_64 system does not download i686 or i386 stuff? Does it need to?
Maybe ... :)
Not everything that can install from the x86_64 tree is x86_64. OpenOffice.org is one package, there are others, that are i386 only. If you don't need any of the i386/i586/i686 packages you can remove them and prevent them form trying to be installed.
The first thing you need to do is add this to a file called .rpmmacros in your user's home directory:
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
Then when you do "rpm -q" items, it will also show you the arch.
Then you can do:
rpm -qa | grep i[3,4,5,6]86 | sort
to see what x86 packages are installed on your machine.
Then you can see if you have to have them, or can remove them.
THIS IS CRITICAL :) ... If you remove x86 type packages where both x86 and x86_64 packages are installed, reinstall the x86_64 packages after you are done ... this is because a file can only belong to 1 package, so some files you need may have belonged to the package you removed, and will be reinstalled when you reinstall the x86_64 packages.
If you can get rid of all the x86 packages, you can then add this to /etc/yum.conf
exclude=*.i386 *.i586 *.i686
You will then not add anything except x86_64 packages with yum.
Thanks, Johnny Hughes
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBEumhETKkMgmrBY7MRAtpiAKCI6ciewylVZEfsRfKetSqQg5PS1wCfQ4en QY/tUX31klWD1GOyIkZr3Ns= =3xTM -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos