yum wont upgrade noarch -> arch-specific

Michael E Brown Michael_E_Brown at dell.com
Sun Apr 8 18:24:58 UTC 2007


On Sun, Apr 08, 2007 at 07:50:53PM +0200, Michael Schwendt wrote:
> On Sun, 8 Apr 2007 12:15:14 -0500, Michael E Brown wrote:
> 
> >     Based upon the numerous comments about how firmware-addon-dell
> > should not be noarch, I converted it to arch-specific over the weekend
> > along with some other bugfixes I was making. In the previous thread,
> > somebody had stated that yum would handle this properly.
> 
> Yes, it does.
>  
> >     Well, it turns out that yum will not upgrade a noarch.rpm to
> > arch-specific in FC6, at least, so I am busted.
> > 
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=235632
> 
> Cannot confirm. Works for me. FC6 and Rawhide.
> 
> $ rpm -q test
> test-1.0-0.fdr.3.fc7.7
> $ rpm -q test --qf %{arch}\\n
> noarch
> 
> $ sudo yum update
> [...]
> ---> Package test.i386 0:1.0-0.fdr.4.fc7.7 set to be updated
> Checking deps for test.i386 0-1.0-0.fdr.4.fc7.7 - u
> Checking deps for test.noarch 0-1.0-0.fdr.3.fc7.7 - None
> filelists.xml.gz          100% |=========================|  402 B    00:00     
> 
> Dependencies Resolved
> 
> =============================================================================
>  Package                 Arch       Version          Repository        Size 
> =============================================================================
> Updating:
>  test                    i386       1.0-0.fdr.4.fc7.7  misc               35 k

I am wondering if this is just an issue going from .noarch -> x86_64,
because I set up a similar test, and going from noarch->i386 worked
fine, but noarch->x86_64 did not.
--
Michael




More information about the fedora-devel-list mailing list