Re: How to change "Up2date" Architecture?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 06 December 2003 07:25 pm, Chris Kloiber wrote:
> On Sat, 2003-12-06 at 07:27, Mike Watson wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I switched my Fedora hard drive from one machine to another.  The
> > first was an AMD K6-2 (i586), the second was an AMD Athlon XP 2800.
> >  All went well except for one thing---up2date still thinks I have
> > an i586 instead of an Athlon.  There is a kernel update available,
> > but up2date picks the wrong one.
> >
> > In addition, I can't use RPM to instead the rpm directly.  I get a
> > message about the file requiring an Athlon architecture and RPM
> > quits.
> >
> > How can I change the architecture?  Why does RPM now refuse to
> > install. I can't use --force either.
>
> rpm -ivh --ignorearch kernel-*.athlon.rpm
>
> Should work as a temporary fix, but there are references to the
> machine's arch in /usr/lib/rpm/macros, and I'm not sure of the
> correct way to fix it.

Chris,

	Thanks! That allowed RPM to install the .athlon.rpm kernel version.  
Up2date still wants to install the i586 version.  Now I have an Athlon 
kernel and i586 glibc.  I don't think that will be a problem.  I'll 
checkout /usr/lib/rpm/macros.  

	I've also noticed that rc.sysinit has a section where HOSTTYPE=`uname 
- -m`, but that doesn't seem to be run at boot time. Echo $HOSTTYPE still 
returns i386. 

	Any other ideas how to fix the architecture?  I've switched HD like be 
before with RHL and have never had the problem, so I didn't expect to 
have it with Fedora.  
	
	I wuz wrong!

Mike W.
- -- 
Registered Linux - 256979   (http://counter.il.org for more information)
NRA Life
ARS: W0TMW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/065F5fq6h2uDDlQRAmrpAJ0dCu188kxU6p5Wna+44c/yI2MTjgCg0Ekv
dANud7Jdy3Ab67cXOSqBixw=
=g+Kr
-----END PGP SIGNATURE-----


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, 
and is believed to be clean.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux