Displaying 1 result from an estimated 1 matches for "newarch".
2007 Feb 15
0
yum does not update x86_64
...ncompatible 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)...