Bug 217132 - Upgrade from fc5 i386 to fc6 x86_64
Summary: Upgrade from fc5 i386 to fc6 x86_64
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: x86_64 Linux
Target Milestone: ---
Assignee: Martin Sivák
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2006-11-24 07:37 UTC by Eli Wapniarski
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-26 09:11:27 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Show architecture upgrade confirmation dialog (4.20 KB, patch)
2007-08-28 15:05 UTC, Martin Sivák
no flags Details | Diff

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

Note You need to log in before you can comment on or make changes to this bug.