LWN.net Logo

Dual-arch handling

Dual-arch handling

Posted Jul 9, 2008 18:02 UTC (Wed) by tarvin (subscriber, #4412)
In reply to: Rawhide users: brace for a new RPM by aleXXX
Parent article: Rawhide users: brace for a new RPM

The current Red Hat/Fedora RPM wreaks havoc on your x86_64 system if you clean out the
i[356]86 packages:

Let package X be a package which exists in both an x86_64 and i386 version, and both are
installed during system installation. Let X contain both arch-dependent and arch-independent
files. An arch independent file could be /usr/share/locale/xx/LC_MESSAGES/foo.mo. If you
remove X.i386, X.x86_64 will suddenly be broken, because RPM removed
/usr/share/locale/xx/LC_MESSAGES/foo.mo.

I hope the new RPM handles this in the obvious way: When removing a package, don't remove a
file if it's also part of another, not-removed package.


(Log in to post comments)

Dual-arch handling

Posted Jul 9, 2008 19:57 UTC (Wed) by spot (subscriber, #15640) [Link]

Is this filed as a bug anywhere?

Dual-arch handling

Posted Jul 10, 2008 10:22 UTC (Thu) by james (subscriber, #1325) [Link]

Which versions are you seeing this with?

This bug certainly *used* to exist, but it got fixed a couple of Fedora releases ago.

Dual-arch handling

Posted Jul 10, 2008 17:10 UTC (Thu) by tarvin (subscriber, #4412) [Link]

Sorry - it seems you are right: recent Fedoras aren't affected. But RHEL 5.2 was last time I
checked (a week ago).

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds