yum returns x86_64 bits $basearch rather than i386 !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

We have a fresh install of a centos5 32 bits.

# uname -i
i386

# uname -a
Linux fqdn.domaine.com 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux

All our pacakges are i386 ones !
We've done a yum list | grep "installed" and we have checked that all installed packages are i386. It is the case !

Here is the yum.repos.d conf file :
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/i386/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/i386/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


Etc....

But here $Basearch returns always x86_64 rather than i386 !!!

For example if we do a yum update we have :

-------
# yum update
.../....
--> Running transaction check
--> Processing Dependency: bind-libs = 30:9.3.3-7.el5 for package: bind
--> Processing Dependency: bind-libs = 30:9.3.3-7.el5 for package: bind-utils
--> Processing Dependency: nss = 3.11.5-1.el5 for package: nss-tools
--> Processing Dependency: samba-common = 0:3.0.23c-2 for package: samba
--> Processing Dependency: krb5-libs = 1.5-17 for package: krb5-workstation
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package nss.x86_64 0:3.11.5-1.el5 set to be updated
---> Package bind-libs.x86_64 30:9.3.3-7.el5 set to be updated
---> Package krb5-libs.x86_64 0:1.5-17 set to be updated
---> Package samba-common.x86_64 0:3.0.23c-2 set to be updated
--> Running transaction check
--> Processing Dependency: bind-libs = 30:9.3.3-7.el5 for package: bind
--> Processing Dependency: bind-libs = 30:9.3.3-7.el5 for package: bind-utils
--> Processing Dependency: nss = 3.11.5-1.el5 for package: nss-tools
--> Processing Dependency: samba-common = 0:3.0.23c-2 for package: samba
--> Processing Dependency: krb5-libs = 1.5-17 for package: krb5-workstation
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package nss.x86_64 0:3.11.5-1.el5 set to be updated
---> Package bind-libs.x86_64 30:9.3.3-7.el5 set to be updated
---> Package krb5-libs.x86_64 0:1.5-17 set to be updated
---> Package samba-common.x86_64 0:3.0.23c-2 set to be updated
--> Running transaction check
Error: Unable to satisfy dependencies
Error: Package bind needs bind-libs = 30:9.3.3-7.el5, this is not available.
Error: Package bind-utils needs bind-libs = 30:9.3.3-7.el5, this is not available.
Error: Package nss-tools needs nss = 3.11.5-1.el5, this is not available.
Error: Package samba needs samba-common = 0:3.0.23c-2, this is not available.
Error: Package krb5-workstation needs krb5-libs = 1.5-17, this is not available.
---------

Yum looks for x86_64 bits packages !

How to set the $basearch to i386 ? any idea why it does this ?

This os has been installed by booting on a centos8 x86_64 bits CD and by performing a "linux text askmethod", where http has been choosed. We have, of course choosed a i386 repository to perform our centos5 install, so it has been installed with i386 packages !
Don't know why and how yum find x86_64

Thanks for your help

Pascal
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux