On Mar 4, 2011, at 4:41 PM, Arkadiusz Miskiewicz wrote:

> 
> Hi,
> 
> I'm still at rpm 4.5 and I'm looking for a way to replace all i686 packages 
> with x86_64 ones on a existing system. My rpm is already x86_64 one.

There's a way but its been years since I looked at rpm-4.5 ... gimme a day or 
two
to think and remember (it will involve rpmrc resurrection and compatibility
scoreing if you are impatient).

> How can I trick rpm to treat i686 and x86_64 packages equally, possibly 
> without any colors? (so newer x86_64 versions would replace i686 packages 
> like 
> a upgrade)
> 

Getting rid of multilib "colors" is dirt simple. Change this to "0"

#       The default transaction color. This value is a set of bits to
#       determine file and dependency affinity for this arch.
#               0       uncolored (i.e. use only arch as install hint)
#               1       Elf32 permitted
#               2       Elf64 permitted
#               4       MIPS reserved
%_transaction_color     @RPMCANONCOLOR@

and everything is "white". Its a bisk map that is AND'd everywhere,
and we all know the truth table
        x & 0 = 0
Any other usage case that can _NOT_ make that same transition was
b0rken when it was written.

73 de Jeff
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        rpm-devel@rpm5.org

Reply via email to