So I’m using Fedora 38 with KDE Plasma I recently installed with one line I found online, and I was wondering if it were possible to remove GnomeShell. I tried using the command sudo dnf remove gnome-shell
, and it gave me Error: Problem: The operation would result in removing the following protected packages: gnome-shell (try to add '--skip-broken' to skip uninstallable packages)
. I did try --skip-broken
but that didn’t work as It thinks I’m trying to break my system. anyone ever done this before, and know if I could do this without breaking my system.
There are configuration files for dnf in
/etc/dnf/protected.d
that might have gnome-shell listed. Check that directory for a file calledgnome-shell.conf
. If there is, you can simply rm it and try removing gnome-shell again.Be aware that there might be packages you have installed that depend on gnome-shell, so be sure to double check the list of dependent packages that will also be removed.
You needed to replace the workstation release identity package with the plasma release identity one. I don’t remember the exact names but that will let you uninstall all gnome packages.
Try this: sudo dnf remove gnome-shell --setopt protected_packages=
Just recently did the same. The answer with the “migrate-gnome-kde.sh” helped me.