Bug 2400573

Summary: Protected packages can be removed via packagekit in Fedora 43
Product: [Fedora] Fedora Reporter: Joe Walker <joe.c.walker0>
Component: PackageKitAssignee: Neal Gompa <ngompa13>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 43CC: ales.astone, gnome-sig, kde-sig, kparal, ngompa13, rhughes, robatino
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-01 07:10:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Walker 2025-10-01 01:56:09 UTC
[grumpey@grumpey1 ~]$ pkcon remove gnome-shell
Resolving                               [=========================]         
Testing changes                         [=========================]         
Finished                                [                         ] (0%)  
The following packages have to be removed:
 gdm-1:49.0.1-6.fc43.x86_64	The GNOME Display Manager
 gnome-session-wayland-session-49.0-1.fc43.x86_64	Desktop file for wayland based gnome session
 gnome-shell-49.0-1.fc43.x86_64	Window management and application launching for GNOME
 gnome-shell-extension-gamemode-11.0-4.fc43.noarch	GameMode integration for GNOME Shell
Proceed with changes? [N/y] n

The transaction did not proceed.
                                        [=========================]         
Fatal error: user declined simulation

This functions correctly in F42. 
Ref: https://discussion.fedoraproject.org/t/removing-cantarell-vf-fonts-from-store-cause-removing-gnome-shell-in-f43/166684
Upstream bug but I'm not sure it's applicable. https://github.com/PackageKit/PackageKit/issues/197


Reproducible: Always

Steps to Reproduce:
1.pkcon remove gnome-shell
2.
3.
Actual Results:
Observe attempted removal of gnome-shell

Expected Results:
Removal denied due to gnome-shell being a protected package.

Comment 1 Fedora Blocker Bugs Application 2025-10-01 02:19:41 UTC
Proposed as a Blocker for 43-final by Fedora user grumpey using the blocker tracking app because:

 Bug could result in the removal of protected packages and end users could end up with non-working systems as a result.

Comment 2 Joe Walker 2025-10-01 07:10:43 UTC

*** This bug has been marked as a duplicate of bug 2400488 ***