Hello, On my centos boxes whenever I try to install packages I get a mix of packages from the repos that are both i386 and x86_64 in archictecture: ============================================================================================================================================================================================================== Package Arch Version Repository Size ==============================================================================================================================================================================================================Installing: boost-devel i386 1.33.1-10.el5 base 4.3 M boost-devel x86_64 1.33.1-10.el5 base 4.4 M Installing for dependencies: boost i386 1.33.1-10.el5 base 863 k boost x86_64 1.33.1-10.el5 base 861 k libicu i386 3.6-5.11.4 base 5.2 M libicu x86_64 3.6-5.11.4 base 5.2 M Transaction Summary ==============================================================================================================================================================================================================Install 6 Package(s) Upgrade 0 Package(s) Without having so specify the arch on each yum command how can I automatically prune my yum repo files so that it will only grab packages that relate to the architecture I'm running? Thanks in advance! -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Andreas Reschke
2011-Mar-07 15:01 UTC
[CentOS] Antwort: yum tries to install a mix of architectures
centos-bounces at centos.org schrieb am 07.03.2011 15:41:04:> Tim Dunphy <bluethundr at gmail.com> > Gesendet von: centos-bounces at centos.org > > 07.03.2011 15:41 > > Bitte antworten an > CentOS mailing list <centos at centos.org> > > An > > CentOS mailing list <centos at centos.org> > > Kopie > > Thema > > [CentOS] yum tries to install a mix of architectures > > Hello, > > On my centos boxes whenever I try to install packages I get a mix of > packages from the repos that are both i386 and x86_64 in > archictecture: > >==============================================================================================================================================================================================================> Package Arch> Version > Repository Size >==============================================================================================================================================================================================================> Installing:> boost-devel i386 > 1.33.1-10.el5 > base 4.3 M > boost-devel x86_64 > 1.33.1-10.el5 > base 4.4 M > Installing for dependencies: > boost i386 > 1.33.1-10.el5 > base 863 k > boost x86_64 > 1.33.1-10.el5 > base 861 k > libicu i386 > 3.6-5.11.4 > base 5.2 M > libicu x86_64 > 3.6-5.11.4 > base 5.2 M > > Transaction Summary >==============================================================================================================================================================================================================> Install 6 Package(s)> Upgrade 0 Package(s) > > > > > Without having so specify the arch on each yum command how can I > automatically prune my yum repo files so that it will only grab > packages that relate to the architecture I'm running? > > > Thanks in advance! > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosHi Tim Dunphy, that's a normal way when you're using x86_64. Do you need 32bit software? If not you can remove them with "yum remove *386". Gru? Andreas Reschke ________________________________________________________________ Unix/Linux-Administration Andreas.Reschke at behrgroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110307/7b070d29/attachment-0002.html>
Nico Kadel-Garcia
2011-Mar-08 02:23 UTC
[CentOS] yum tries to install a mix of architectures
On Mon, Mar 7, 2011 at 9:41 AM, Tim Dunphy <bluethundr at gmail.com> wrote:> Hello, > > ?On my centos boxes whenever I try to install packages I get a mix of > packages from the repos that are both i386 and x86_64 in > archictecture:Jump to CentOS 6. Wait, that's not out yet. Buy an RHEL 6 license or test with Scientic Linux 6 until CentOS 6 is out. The default behavior of yum has changed, and it's just safier and easier to work with an architecture that does the "more selective" thing by deffault.
On Mar 7, 2011, at 9:41 AM, Tim Dunphy <bluethundr at gmail.com> wrote:> On my centos boxes whenever I try to install packages I get a mix of > packages from the repos that are both i386 and x86_64 in > archictecture:Yum doesn't implicitly know if you want the 64 or 32-bit versions so it selects both. If you only want 64-bit put .x86_64 at the end of the package name. The 32-bit versions are there for 32-bit binary application support. -Ross
Reasonably Related Threads
- (Parallel) Random number seed question...
- CESA-2009:1122 Moderate CentOS 5 x86_64 icu Update
- CESA-2009:1122 Moderate CentOS 5 i386 icu Update
- No IrDA Support with CentOS anymore?
- v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed)