Bug 217132

Summary: Upgrade from fc5 i386 to fc6 x86_64
Product: [Fedora] Fedora Reporter: Eli Wapniarski <eli>
Component: anacondaAssignee: Martin Sivák <msivak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-26 09:11:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Show architecture upgrade confirmation dialog none

Description Eli Wapniarski 2006-11-24 07:37:57 UTC
I recently upgraded my main desktop computer from fc5 i386 to fc6 x86_64. I expected that there 
would be some difficulty and of course there was. However, one thing I did not expect was that 
apt-get or yum would not be able to see 64bit packages.

Turns out, that the installation of rpm x86_64 did not detect that the previous installation was an 
i386 installation.

When I changed the contents of /etc/rpm/platform from i386-redhat-linux to x86_64-redhat-linux 
all was well.

I guess you should consider this a feature request; that when rpm gets installed from an upgrade 
from an i386 system to an x86_64 system that /etc/rpm/platform gets altered appropriately.

Comment 1 Jeff Johnson 2006-11-24 14:22:25 UTC
Feature request understood.

But consider that only you, not rpm, can tell upgrade from i386 -> x86_64.
There's no unambiguous way of detecting when a platform changes, consider
what happens when a mobo or a cpu is replaced.

Comment 2 Eli Wapniarski 2006-11-24 19:03:25 UTC
Not really a problem. I guess it is safe to assume that if someone decides to upgrade 
from i386 to x86_64 that they know what they're doing. Grepping /etc/rpm/platform to 
determine if the file contains i386-redhat-linux or x86_64-redhat-linux should not be a 
big deal, and if platform contains the wrong info, then change it. This would save a lot 
of pain.

Comment 3 Panu Matilainen 2007-08-09 20:35:44 UTC
Anaconda writes /etc/rpm/platform, not rpm itself. 
Since this has no way of getting changed for FC6, switching version to devel.

Comment 5 Martin Sivák 2007-08-28 15:05:38 UTC
Created attachment 176781 [details]
Show architecture upgrade confirmation dialog

When architectures of booted instalation media and /etc/rpm/platform are
different, ask for confirmation