yum wont upgrade noarch -> arch-specific

Michael E Brown Michael_E_Brown at dell.com
Sun Apr 8 18:10:56 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.

Well, everything is currently in extras that you would need to test. The
last .noarch.rpm for firmware-addon-dell, plus the most recent arch-rpm. 

If you could try this out, and let me know what is going on, I would
appreciate it.

# yum install firmware-addon-dell.noarch
    -> installs 1.2.6-1.fc6.noarch.rpm
# yum upgrade
    -> does not update to (available) 1.2.10-1.fc6.x86_64.rpm

Example:

[michael_e_brown at localhost ~]$ sudo yum -y install
firmware-addon-dell.noarch
Loading "priorities" plugin
Loading "installonlyn" plugin
Loading "changelog" plugin
Loading "tsflags" plugin
Loading "skip-broken" plugin
Loading "downloadonly" plugin
Loading "fastestmirror" plugin
Loading "allowdowngrade" plugin
Loading "protectbase" plugin
Setting up Install Process
Setting up repositories
macromedia                100% |=========================|  951 B 00:00     
livna                     100% |=========================| 1.1 kB 00:00     
updates                   100% |=========================| 1.2 kB 00:00     
core                      100% |=========================| 1.1 kB 00:00     
freshrpms                 100% |=========================|  951 B 00:00     
extras                    100% |=========================| 1.1 kB 00:00     
dell-hardware             100% |=========================|  951 B 00:00     
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
0 packages excluded due to repository priority protections
0 packages excluded due to repository protections
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package firmware-addon-dell.noarch 0:1.2.6-1.fc6 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository Size 
=============================================================================
Installing:
 firmware-addon-dell     noarch     1.2.6-1.fc6      extras 24 k

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 24 k
Downloading Packages:
(1/1): firmware-addon-del 100% |=========================|  24 kB
00:00     
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: firmware-addon-dell          ######################### [1/1] 

Installed: firmware-addon-dell.noarch 0:1.2.6-1.fc6
Complete!



[michael_e_brown at localhost ~]$ sudo yum -y upgrade
Password:
Loading "priorities" plugin
Loading "installonlyn" plugin
Loading "dellsysidplugin" plugin
Loading "changelog" plugin
Loading "tsflags" plugin
Loading "skip-broken" plugin
Loading "downloadonly" plugin
Loading "fastestmirror" plugin
Loading "allowdowngrade" plugin
Loading "protectbase" plugin
Setting up Upgrade Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
0 packages excluded due to repository priority protections
0 packages excluded due to repository protections
No Packages marked for Update/Obsoletion




--
Michael




More information about the fedora-devel-list mailing list