I have a couple 64-bit CentOS 5 installations here and was wondering if there was a yum option to have it install only x86_64 arch by default if no arch is specified. I tired of having to append .x86_64 on all package names I only want the x86_64 versions of, if I want the i386 versions too I would add the .i386 package to the list... Thanks All, Ross S. W. Walker Information Systems Manager Medallion Financial, Corp. 437 Madison Avenue 38th Floor New York, NY 10022 Tel: (212) 328-2165 Fax: (212) 328-2125 WWW: http://www.medallion.com <http://www.medallion.com/> ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070807/936c8d5e/attachment-0001.html>
On 8/7/07, Ross S. W. Walker <rwalker at medallion.com> wrote:> > I have a couple 64-bit CentOS 5 installations here and was wondering if > there was a yum option to have it install only x86_64 arch by default > if no arch is specified. > > I tired of having to append .x86_64 on all package names I only want > the x86_64 versions of, if I want the i386 versions too I would add > the .i386 package to the list... >Unless you are planning to run only stripped-down systems, that can cause trouble. A lot of packages do not have 64-bit versions and need (lots of) 32-bit support packages and libraries to run. E.g., web browsers (whose 64-bit versions run just fine until you need a plug-in that's only available in 32-bit versions). Just a comment - I don't have a specific solution (yet). mhr
On 8/7/07, Ross S. W. Walker <rwalker at medallion.com> wrote:> > > I have a couple 64-bit CentOS 5 installations here and was wondering if > there was a yum option to have it install only x86_64 arch by default > if no arch is specified. > > I tired of having to append .x86_64 on all package names I only want > the x86_64 versions of, if I want the i386 versions too I would add > the .i386 package to the list...The exclude= line in this post -> http://lists.centos.org/pipermail/centos-devel/2007-August/003751.html should help you out. Drop that in the individual repo files, or globally in your yum.conf Should work for you. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
On 8/7/07, Ross S. W. Walker <rwalker at medallion.com> wrote:> > > I have a couple 64-bit CentOS 5 installations here and was wondering if > there was a yum option to have it install only x86_64 arch by default > if no arch is specified. > > I tired of having to append .x86_64 on all package names I only want > the x86_64 versions of, if I want the i386 versions too I would add > the .i386 package to the list...You can exclude=*.i386 in the repo file. Akemi