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.

  • Zaemz@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    There are configuration files for dnf in /etc/dnf/protected.d that might have gnome-shell listed. Check that directory for a file called gnome-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.