[CentOS] Yum updates packages for other arch too

Wed Aug 30 23:16:10 UTC 2006
nightrid3r <03taxi at gmail.com>

Christian Huegel schreef:
> Hi,
> 
> I have the x86_64 arch on my server so therfore i expect that yum
> updates only x86_64 packages.
> With the last *yum update* i´ve noticed a strange behaviour while
> retrieving the needed packeges. As you you see, yum wants install
> packages for different architectures:
> 
> glibc      x86_64     2.3.4-2.25       base             4.9 M
> glibc      i686       2.3.4-2.25       base              5.1 M
> .
> .
> .
> dmraid  i386       1.0.0.rc11-3_RHEL4_U4  base              396  k
> 
> and the list continues. This ends with an bunch of unresolved dependencies.
> #################################
> My yum.conf:
> [main]
> cachedir=/var/cache/yum
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=centos-release
> tolerant=1
> #exclude=kernel*
> exactarch=1
> retries=20
> obsoletes=1
> gpgcheck=1
> 
> # PUT YOUR REPOS HERE OR IN separate files named file.repo
> # in /etc/yum.repos.d
> ############################
> 
> and here the CentOS-Base.repo:
> 
> #############################################################
> [base]
> name=CentOS-$releasever - Base
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
> baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
> 
> #released updates
> [update]
> name=CentOS-$releasever - Updates
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
> baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
> 
> #packages used/produced in the build but not released
> [addons]
> name=CentOS-$releasever - Addons
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
> baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
> 
> #additional packages that may be useful
> [extras]
> name=CentOS-$releasever - Extras
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
> baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
> gpgcheck=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
> 
> #additional packages that extend functionality of existing packages
> [centosplus]
> name=CentOS-$releasever - Plus
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
> baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
> gpgcheck=1
> enabled=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
> 
> #contrib - packages by Centos Users
> [contrib]
> name=CentOS-$releasever - Contrib
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
> baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
> gpgcheck=1
> enabled=1
> gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
> 
> ###################################
> 
> How can be this possible?
> Thanks in advance,
> 
> Chris
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
not all packages are ported to x86-64 for technical reasons (mostly no
clean compile on 64 bit platform)
so packages containing librarys and other dependency's are installed
both in 32 and 64 bit versions

-- 

Progress (n.):  The process through which the Internet has evolved from
smart people in front of dumb terminals to dumb people in front of smart
terminals.