yum does not update x86_64

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



Hi,

After a successful upgrade CentOS 3.8 i386 to CentOS 4.4 x86_64 and,
after cleaning old 3.8 packages, yum does not update the x86_64 packages
but just the i386's.
The rhn-applet see the x86_64 updates but neither yum nor up2date see
them.

When I run:
# yum -d 3 check-update
Yum Version: 2.4.3
COMMAND: yum -d 3 
Installroot: /
Setting up repositories
Baseurl(s) for repo: ['http://mirror.centos.org/centos/4/updates/i386/']
                                                                 ^^^^
Baseurl(s) for repo: ['http://mirror.centos.org/centos/4/os/i386/']
                                                            ^^^^
Reading repository metadata in from local files
Setting up Package Sacks
Excluding Incompatible Archs
Finished
Reading Local RPMDB
Building updates object

What I do without success:
# yum clean all
# rm -f /var/lib/rpm/__db.00*
# rpm --rebuilddb

I created a python script like used by yum :
# -*- python -*-
# arch.py
import os
import re
def getArch():
    arch = os.uname()[4]
    newarch = None
    if re.search('86', arch):
        newarch = 'i386'
    if re.search('sparc', arch) or re.search('sun', arch):
        newarch = 'sparc'
    if re.search('alpha', arch):
        newarch = 'alpha'
    if re.search('ppc', arch):
        newarch = 'ppc'
    if re.search('x86_64', arch):
        newarch = 'x86_64'
    if not newarch:
        newarch = arch
    return newarch
myarch=getArch()
print myarch

When I run it, it returns 'x86_64':
# python arch.py
x86_64

What can be wrong ?

Thanks for your help.

For information:
===============
centos-release-4-4.2.x86_64
kernel-smp-2.6.9-42.0.8.EL.x86_64
yum-2.4.3-1.noarch
python-2.3.4-14.3.x86_64
sqlite-3.3.3-1.2.x86_64
up2date-4.4.69-25.centos4.7.x86_64
rhn-applet-2.1.25-22.centos4.x86_64
glibc-2.3.4-2.25.x86_64
glibc-2.3.4-2.25.i686
rpm-4.3.3-18_nonptl.x86_64

-------------
/etc/yum.conf
-------------
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

---------------------------------
/etc/yum.repos.d/CentOS-Base.repo
---------------------------------
[base]
name=CentOS-$releasever - Base
baseurl=ftp://rodolf.cance.fr/centos/$releasever/os/$basearch/
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
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4

-------------
/proc/cpuinfo
-------------
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 3.00GHz
stepping        : 1
cpu MHz         : 2992.596
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
nx lm pni monitor ds_cpl cid cx16 xtpr
bogomips        : 5989.10
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 3.00GHz
stepping        : 1
cpu MHz         : 2992.596
cache size      : 1024 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall
nx lm pni monitor ds_cpl cid cx16 xtpr
bogomips        : 5984.97
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

-- 
Manuel Pelayo <manuel.pelayo@xxxxxxxxxx>
GPG Key 0x9DDB129E (http://pgp.mit.edu/ http://pgp.dtype.org/)

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux