Bug 902265

Summary: linux-firmware subpackage does not obsolete libertas-usb8388-firmware on upgrade
Product: [Fedora] Fedora Reporter: Michael J Gruber <mjg>
Component: linux-firmwareAssignee: David Woodhouse <dwmw2>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dwmw2, kernel-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-05 03:06:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael J Gruber 2013-01-21 09:27:31 UTC
Description of problem:
After an upgrade from F17 to F18, libertas-usb8388-firmware.noarch stays around in its F17 version and does not get upgraded to its F18 version, which is a subpackage of linux-firmware.

Version-Release number of selected component (if applicable): 


How reproducible:


Steps to Reproduce:
1. Upgrade from F17 to F18 (FedUp)
2. Update to current F18
3. yum  --showduplicates list libertas-usb8388\*
4. yum  update libertas-usb8388\*
  
Actual results:
[root@localhost ~]# yum  --showduplicates list libertas-usb8388\*
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
libertas-usb8388-firmware.noarch                                                         2:5.110.22.p23-6.fc17                                                            @anaconda-0/17
Available Packages
libertas-usb8388-firmware.noarch                                                         20120925-0.3.git236367d.fc18                                                     fedora        
libertas-usb8388-olpc-firmware.noarch                                                    20120925-0.3.git236367d.fc18                                                     fedora        
[root@localhost ~]# yum  update libertas-usb8388\*88\*
Loaded plugins: langpacks, presto, refresh-packagekit
No Packages marked for Update


Expected results:
Upgrade to F17 package

Additional info:

Comment 1 Josh Boyer 2013-01-21 14:00:12 UTC
I'm assuming your expected results section should have read "Upgrade to F18 package".

I'll take a look.

Comment 2 Michael J Gruber 2013-01-21 14:26:59 UTC
(In reply to comment #1)
> I'm assuming your expected results section should have read "Upgrade to F18
> package".
> 
> I'll take a look.

Sure, sorry for the typo.

Note that yum distro-sync is an easy fix for the state described above. Alas, this also downgrades packages which were in F17-updates at the time of running FedUp but have not made it into F18-updates yet. So it's not clear whether we should recommend distro-sync right after fedup in general, to every user. A selective distro-sync is nothing for the masses, I'm afraid. But that state is resolved after some time, when the updates trickle in.

But this is different here, where the new subpackage inherits its version number from the superpackage, which is versioned differently from the old standalone package that it is supposed to obsolete.

Comment 3 Josh Boyer 2013-01-23 15:36:46 UTC
The obsoletes were already in place, but they didn't account for the fact that the old libertas-usb8338-firmware package has Epoch: 2.  Fixed in git.

Comment 4 Fedora Update System 2013-01-24 16:30:52 UTC
linux-firmware-20121218-0.2.gitbda53ca.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/linux-firmware-20121218-0.2.gitbda53ca.fc18

Comment 5 Fedora Update System 2013-01-25 21:29:06 UTC
Package linux-firmware-20121218-0.2.gitbda53ca.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing linux-firmware-20121218-0.2.gitbda53ca.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1475/linux-firmware-20121218-0.2.gitbda53ca.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-02-05 03:06:59 UTC
linux-firmware-20121218-0.2.gitbda53ca.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.