Bug 2391080 - Invalid obsoletes for gnome-classic-session-xsession
Summary: Invalid obsoletes for gnome-classic-session-xsession
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell-extensions
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-26 16:16 UTC by Artur Frenszek-Iwicki
Modified: 2025-09-24 00:20 UTC (History)
8 users (show)

Fixed In Version: gnome-shell-extensions-49.0-2.fc43
Clone Of:
Environment:
Last Closed: 2025-09-24 00:20:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 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.


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