[Yum-devel] RFC: [PATCH] Improve multilib handling for weird cases

Paul Nasrat pnasrat at redhat.com
Fri Apr 28 16:15:32 UTC 2006


On Wed, 2006-04-26 at 13:48 -0400, Jeremy Katz wrote:

> With that, we get to where there are four basic cases of newest packages
> 1) No noarch packages.  This ends up with what we have today where you
> install the base arch and the compat arch if available
> 2) Only noarch packages.  This also ends up like present
> 3) Noarch package that's newer than the basearch package.  This means
> that we want the noarch package and not the basearch or compat-arch
> 4) Noarch package that's older than the basearch package.  This means we
> want the basearch and compat-arch if it exists
> 
> The attached patch implements the above logic and seems to work in some
> basic testing here.  What do people think?

FWIW, I think the logic and patch are correct - yes it's a little more
complication, but it's a real life issue.

Paul




More information about the Yum-devel mailing list