Bug 2400573 - Protected packages can be removed via packagekit in Fedora 43
Summary: Protected packages can be removed via packagekit in Fedora 43
Keywords:
Status: CLOSED DUPLICATE of bug 2400488
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-01 01:56 UTC by Joe Walker
Modified: 2025-10-01 09:07 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-10-01 07:10:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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