yum wont upgrade noarch -> arch-specific

Michael Schwendt mschwendt.tmp0701.nospam at arcor.de
Sun Apr 8 17:50:53 UTC 2007


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




More information about the fedora-devel-list mailing list