How to change "Up2date" Architecture?

Chris Kloiber ckloiber at redhat.com
Sun Dec 7 01:25:51 UTC 2003


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 Kloiber
Red Hat, Inc.





More information about the users mailing list