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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20060830/a09922e0/attachment-0002.sig>
On Wed, 2006-08-30 at 22:29 +0200, Christian Huegel wrote:> 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, > > Chrisdmraid.i386 will normally be installed ... x86_64 contains both i386/i686 and x86_64 packages. If you don't have any i386/i686 packages now you can add this to your /etc/yum.conf file: exclude=*.i386 *.i586 *.i686 To see if you have any i386 / i686 packages do this ... 1. Add this line to a file called .rpmmacros in your home directory: %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} 2. Run this from the commandline: rpm -qa | grep i[3,5,6]86 | sort -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060830/8d94a394/attachment-0002.sig>
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/centosnot 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.