yum wont upgrade noarch -> arch-specific

Michael E Brown Michael_E_Brown at dell.com
Sun Apr 8 23:17:13 UTC 2007


On Mon, Apr 09, 2007 at 01:09:05AM +0200, Michael Schwendt wrote:
> On Sun, 8 Apr 2007 15:17:46 -0500, Michael E Brown wrote:
> 
> > Had a conversation with seth on irc, and it looks like this is a
> > multilib bug.
> > 
> > In the meantime, I have made a workaround for this by releasing
> >     firmware-addon-dell-1.2.11.fc6.1.noarch.rpm 
> > and
> >     firmware-addon-dell-1.2.11.fc6.1.{i386,x86_64,ia64}.rpm
> > 
> > So that people who are on multilib systems will get the updated code.
> > Should hit the repos tomorrow.
> 
> Bears a huge risk of not giving expected results.
> 
> http://buildsys.fedoraproject.org/plague-results/fedora-6-extras/firmware-addon-dell/
> 
> 1.2.11-1.fc6.1/
>   -> noarch
> 1.2.11-1.fc6.2/
>   -> i386, x86_64
> 
> Only highest EVR will be published. The noarch build won't make it into
> the repo, since it's older.

Nope. The repo publishes both. At this exact moment, 1.2.6-1.noarch and
1.2.10-1.{i386,x86_64} are all in the repo happily together. I saw this
behaviour with 'repomanage', so if they are using repomanage, they will
both stay in the repo until somebody manually removes one.

> 
> And even if both builds (both src.rpms and their binary rpms) were
> published, the i386 users would get an update to the i386 build and not

This doesnt sound right. In the first place, there shouldnt be anybody
with both installed, because i386 upgrades from noarch->i386 just fine.

> the [older] noarch build. Which is not what you wanted when you switched
> to noarch plus ExcludeArch. Only the x86_64 users would get the noarch
> package if they have an older noarch build installed already. Else they
> would get the x86_64 update. It's better to get Seth's patch applied to
> fix yum.

Seth's patch doesnt work for me. Trying to ascertain why.
--
Michael




More information about the fedora-devel-list mailing list