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
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.
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.
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
Anaconda writes /etc/rpm/platform, not rpm itself.
Since this has no way of getting changed for FC6, switching version to devel.
Created attachment 176781 [details]
Show architecture upgrade confirmation dialog
When architectures of booted instalation media and /etc/rpm/platform are
different, ask for confirmation