Description of problem: Had three environment groups istalled: Fedora Workstation, LXDE Desktop and MATE Desktop. Decided I didn't like MATE, so wanted to remove the latest tried group "MATE Desktop". dnf group remove "MATE Desktop" dnf removed lots of packages which belong essentially to "Fedora Workstation" and "LXDE Desktop" groups. System came unusable. Only way to fix it was to ssh in from a tablet and do manual install of all essential packages "Fedora Workstation" group and its subgroups have. Version-Release number of selected component (if applicable): dnf-0.6.4-1.fc21.noarch How reproducible: Assumely always. Steps to Reproduce: 1. # dnf -y group install "MATE Desktop" 2. # dnf -y group remove "MATE Desktop" Actual results: Removes all packages belonging to said group, not caring if they are essential on some other groups which stay installed. Expected results: Should remove only those rpm-packages not needed in some other groups. Additional info: Also if trying to re-install some group, dnf behaves weirdly: # dnf group list Using metadata from Tue Mar 3 16:16:12 2015 Available environment groups: Fedora Server Fedora Cloud Server ... Installed environment groups: Fedora Workstation LXDE Desktop Installed groups: Administration Tools C Development Tools and Libraries Fedora Eclipse LibreOffice Available groups: 3D Printing Audio Production ... # # dnf group install "LXDE Desktop" Using metadata from Tue Mar 3 16:16:12 2015 Warning: Group 'LXDE Desktop' does not exist. Dependencies resolved. Is this ok [y/N]: y Complete! It doesn't find group "LXDE Desktop"?! It could of course tell, you have already installed group "LXDE Desktop". And there could be "group reinstall" subcommand in dnf also just in these cases, but the "dnf group remove" command currently can break the OS totally. See also: http://forums.fedoraforum.org/showthread.php?t=303291 From /var/log/dnf.rpm.log I can see specific rpm-packages it installed and removed, if needed, but it is obvious "dnf group remove" just didn't look at all what other installed groups need.
Thanks for the report, during removal of the group it should remove all mandatory packages from all groups installed.
This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '21'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 21 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.