Bug 1239239

Summary: Cannot remove group "C Development Tools and Libraries"
Product: [Fedora] Fedora Reporter: Oliver Jan Krylow <oliver>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, oliver, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 12:59:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Oliver Jan Krylow 2015-07-04 22:10:20 UTC
Description of problem:
After installing "C Development Tools and Libraries" via 

dnf group install "C Development Tools and Libraries"

it becomes impossible to uninstall this group via 


dnf group remove "C Development Tools and Libraries".


The reason is, that it tries to remove "systemd" and "dnf", which is not permitted.

Version-Release number of selected component (if applicable):
[oliver@bugatop ~]$ dnf --version 
1.0.1
  Installiert: dnf-0:1.0.1-2.fc22.noarch am 2015-06-23 20:45
  Erstellt   : Fedora Project am 2015-06-12 09:00

  Installiert: rpm-0:4.12.0.1-11.fc22.x86_64 am 2015-06-28 13:12
  Erstellt   : Fedora Project am 2015-06-19 09:56


Actual results:
[oliver@bugatop ~]$ sudo dnf group remove "C-Entwicklungswerkzeuge und -Bibliotheken"
Last metadata expiration check performed 2:53:02 ago on Sat Jul  4 21:13:44 2015.
Abhängigkeiten sind aufgelöst.
Fehler: The operation would result in removing the following protected packages: systemd, dnf.

Comment 1 Honza Silhan 2015-07-07 15:05:20 UTC
Thanks for the report. Can you attach the /var/lib/dnf/groups.json file and debugdata [1], please?

[1] https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting

Comment 2 Honza Silhan 2015-07-29 12:59:54 UTC

*** This bug has been marked as a duplicate of bug 1229946 ***