Bug 2260582 - Updating from F39 to Rawhide left the firefox-wayland subpackage installed which was no longer built
Summary: Updating from F39 to Rawhide left the firefox-wayland subpackage installed wh...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-26 22:51 UTC by Matt Fagnani
Modified: 2024-01-30 10:05 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-01-29 09:04:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2024-01-26 22:51:08 UTC
I updated a Fedora 39 KDE Plasma installation to Rawhide. The F39 installation had firefox-wayland installed. firefox-x11 and firefox-wayland weren't built for F40+ apparently due to https://src.fedoraproject.org/rpms/firefox/c/722aeaae74946e9f01599ebbe088a7dd99aef2c1?branch=rawhide but they weren't obsoleted in F40. So the firefox-wayland subpackage from F39 remained installed even after I updated to firefox-122.0-1.fc40 from koji in Rawhide.

Reproducible: Didn't try

Steps to Reproduce:
1. Update a F39 KDE Plasma installation with firefox-wayland installed to Rawhide. I did that with 
sudo dnf system-upgrade download --releasever rawhide --disablerepo=*update* -x sdubby --refresh
sudo dnf system-upgrade reboot
2.
3.
Actual Results:  
Updating from F39 to Rawhide left the firefox-wayland subpackage installed which was no longer built

Expected Results:  
Updating from F39 to Rawhide should have removed the firefox-wayland subpackage

Comment 1 Martin Stransky 2024-01-29 09:04:24 UTC
Should be fixed in firefox-122.0-2.
Thanks.

Comment 2 Matt Fagnani 2024-01-29 21:28:36 UTC
Thanks. firefox-122.0-2 should remove firefox-wayland (and firefox-x11). The Fedora Packaging Guidelines state that obsoletes should include a version and release the old package is less than like Obsoletes: oldpackagename < $obsEVR https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages So something like Obsoletes: firefox-wayland < 122.0-2 might be recommended instead of  Obsoletes: firefox-wayland as at https://src.fedoraproject.org/rpms/firefox/c/919e30e38fad68ea0ae59954f09ae5b833cab02a?branch=rawhide fedora-obsolete-packages has its obsoleted packages versioned like that https://src.fedoraproject.org/rpms/fedora-obsolete-packages

Comment 3 Martin Stransky 2024-01-30 10:05:47 UTC
Will update it, Thanks.


Note You need to log in before you can comment on or make changes to this bug.