[Yum-devel] [PATCH] Handle multiarch properly with 'yum localinstall'

James Bowes jbowes at redhat.com
Wed Jan 3 19:38:49 UTC 2007


Jeremy Katz wrote:
> Doing a 'yum localinstall /path/to/somepkg.i386.rpm' will fail if you
> already have the x86_64 version installed as the local install cli bits
> don't take into account multiarch.
> 
> This makes localinstall mirror install a bit more closely.  
> 
> If people agree this is the right behavior, then I'll commit this for
> 3.0.x and then try to make the code a little bit more common for HEAD

I wonder if you could do something like make localinstall/update create 
a repo that only contains the packages listed on the commandline, then 
just run a regular install/update, and let the normal non-local* code 
take over from there?

I don't know if this would be more or less code, but it might prevent 
something like this multilib bug from happening.

-James



More information about the Yum-devel mailing list