Description of problem: I've installed the Fedora 31 Plasma spin, ran dnf -y upgrade and then installed the package group "MATE Desktop" and "MATE Applications" after the original install. Removing "MATE Desktop" package group removes both the MATE Desktop but also the originally installed Plasma 5. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. dnf -y groupinstall "MATE Desktop" complains: Error: Problem: problem with installed package fedora-release-kde-31-4.noarch - package fedora-release-kde-31-4.noarch conflicts with system-release provided by fedora-release-matecompiz-31-1.noarch - package fedora-release-matecompiz-31-1.noarch conflicts with system-release provided by fedora-release-kde-31-4.noarch - package fedora-release-kde-31-1.noarch conflicts with system-release provided by fedora-release-matecompiz-31-1.noarch - package fedora-release-matecompiz-31-1.noarch conflicts with system-release provided by fedora-release-kde-31-1.noarch - conflicting requests - package fedora-release-kde-31-4.noarch conflicts with system-release provided by fedora-release-matecompiz-31-4.noarch - package fedora-release-matecompiz-31-4.noarch conflicts with system-release provided by fedora-release-kde-31-4.noarch - package fedora-release-matecompiz-31-4.noarch conflicts with system-release provided by fedora-release-kde-31-1.noarch - package fedora-release-kde-31-1.noarch conflicts with system-release provided by fedora-release-matecompiz-31-4.noarch (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages) 2. dnf -y --allowerasing groupinstall "MATE Desktop" 3. check that the MATE Desktop works 4. remove MATE desktop: dnf -y groupremove "MATE Desktop" Actual results: Both MATE Desktop and Plasma 5 and a lot of other packages were removed. Expected results: Removing MATE Desktop should only remove MATE Desktop. Additional info:
Could you provide output of following command? dnf grouplist --installed
Do you mean before or after installing the MATE Desktop package group?
Ideally before the step 1 in the steps to reproduce you have provided.
Created attachment 1696217 [details] dnf groupremove "MATE Desktop" dnf groupremove "MATE Desktop"
'dnf grouplist --installed' was empty before running 'dnf -y groupinstall "MATE Desktop"'. I was wrong in that 'dnf groupremove "MATE Desktop"' would remove Plasma 5. 'dnf groupremove "MATE Desktop" removed the packages in the attachment 1696217 [details]. 'dnf groupremove "MATE Desktop" wouldn't work unless I removed /etc/dnf/protected.d/sudo.conf first. 'dnf --allowerasing groupinstall "MATE Desktop"' removed fedora-release-kde.
The problem is that after installation of your system there were not any env. group marked as installed. To resolve your issue please mark your primary env. group as installed and than play with "MATE Desktop". Like: dnf group mark install 'Fedora Workstation'. The problem should be resolved by: https://bugzilla.redhat.com/show_bug.cgi?id=1554010 *** This bug has been marked as a duplicate of bug 1554010 ***