Bug 2391080

Summary: Invalid obsoletes for gnome-classic-session-xsession
Product: [Fedora] Fedora Reporter: Artur Frenszek-Iwicki <fedora>
Component: gnome-shell-extensionsAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: 7grrar1r+redhat, debarshir, fmuellner, gnome-sig, kparal, michel, ngompa13, pikachu.2014
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-shell-extensions-49.0-2.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-24 00:20:20 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 Artur Frenszek-Iwicki 2025-08-26 16:16:10 UTC
gnome-shell-extensions-48.2-2.fc43 disabled building the gnome-classic-session-xsession package.

This was done in the following git-scm commit:
https://src.fedoraproject.org/rpms/gnome-shell-extensions/c/9811c48b00a5cc85210fa695d8f782cc0f407734

Linked commit adds some conditional logic to make gnome-classic-session obsolete the ...-xsession package.
However, the condition seems to have been coded backwards: the Obsoletes is added only if the ...-xsession package is getting built.
If X11 support is disabled, the ...-xsession package is not built, but the Obsoletes is also not added.

This causes a dnf transaction failure when trying to upgrade to F43 pre-beta.

Comment 1 anotheruser 2025-09-23 08:54:08 UTC
just ran into this with 'dnf system-upgrade download --releasever=43' on a f42 system with gnome-classic-session-xsession installed:

Problem: installed package gnome-classic-session-xsession-48.3-1.fc42.noarch requires gnome-classic-session = 48.3-1.fc42, but none of the providers can be installed
  - gnome-classic-session-48.3-1.fc42.noarch does not belong to a distupgrade repository
  - problem with installed package


$ rpm -qa gnome-classic-session\*
gnome-classic-session-48.3-1.fc42.noarch
gnome-classic-session-xsession-48.3-1.fc42.noarch

I had to remove  gnome-classic-session-xsession  first. 


I would have expected something like this in the dnf transaction preview

gnome-classic-session                         noarch 49.0-1.fc43
   replacing gnome-classic-session            noarch 48.3-1.fc42
   replacing gnome-classic-session-xsession   noarch 48.3-1.fc42

Comment 2 Kamil Páral (Red Hat) 2025-09-23 09:21:33 UTC
@ngompa13 Hi Neal, you created the referenced commit, can you look at this bug report? Thanks!

Comment 3 Fedora Update System 2025-09-23 18:16:42 UTC
FEDORA-2025-77fab17740 (gnome-shell-extensions-49.0-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-77fab17740

Comment 4 Fedora Update System 2025-09-24 00:20:20 UTC
FEDORA-2025-77fab17740 (gnome-shell-extensions-49.0-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.