Created attachment 1137643 [details] Installed packages, rpm -qa output. Description of problem: After early stop groups install with: # dnf groupinstall "Web Server" "C Development Tools and Libraries" "Cloud Management Tools" "Container Management" "D Development Tools and Libraries" "Development Tools" "RPM Development Tools" "Fedora Eclipse" DNF reports the groups are already installed: # dnf groupinstall "Web Server" "C Development Tools and Libraries" "Cloud Management Tools" "Container Management" "D Development Tools and Libraries" "Development Tools" "RPM Development Tools" "Fedora Eclipse" Last metadata expiration check: 0:40:45 ago on Thu Mar 17 19:09:37 2016. Environment 'Web Server' is already installed, skipping. Group 'C Development Tools and Libraries' is already installed, skipping. Group 'Cloud Management Tools' is already installed, skipping. Group 'Container Management' is already installed, skipping. Group 'D Development Tools and Libraries' is already installed, skipping. Group 'Development Tools' is already installed, skipping. Group 'RPM Development Tools' is already installed, skipping. Version-Release number of selected component (if applicable): dnf-0:1.1.7-2.fc23 How reproducible: Use DNF to install groups and before all downloads are finished stop the process. After try install the same groups. Steps to Reproduce: 1. Use DNF to install some groups. 2. Before DNF finish downloads stop the process. 3. Try install the same groups. Actual results: Always reproducible. Expected results: Everything happens the same, DNF reports "already installed group, skipping..." Additional info: See attachments for detailed installed packages.
I have the same trouble with DNF 1.1.8. In addition to this, I could install these groups if I remove this groups, but these groups are not installed in real! I have a similar trouble to remove these groups after the installation was completed. In fact, I can remove one group in the same time. If I tried to remove two groups at the same time, the groups are tagged as "not installed". But no problem if I remove them separately...
Also have this issue with dnf-1.1.9-1.fc24, steps to reproduce: 1.) dnf group install development-tools 2.) Answer "no" 3.) dnf group install development-tools => dnf now tells me that the group "Development Tools" is already installed although it is not.
False alarm - this is still an issue in DNF.
The issues described in the bug report were fixed, but something remains. When 'dnf group install <groups>' use as a one group argument nonexistant group it fails, nothing is installed, but all valid groups were marked as installed.
I made a pull-request: https://github.com/rpm-software-management/dnf/pull/507 . Hopefully it will solve remaining issues.
(In reply to Christian Dersch from comment #2) > Also have this issue with dnf-1.1.9-1.fc24, steps to reproduce: > > 1.) dnf group install development-tools > 2.) Answer "no" > 3.) dnf group install development-tools > => dnf now tells me that the group "Development Tools" is already installed > although it is not. I have the same problem with dnf-1.1.9-2.fc24.noarch on Fedora-Workstation-netinst-x86_64-24-20160609.n.0.iso
*** Bug 1347122 has been marked as a duplicate of this bug. ***
*** Bug 1351879 has been marked as a duplicate of this bug. ***
I'm seeing this with dnf-1.1.10-1.fc25: # dnf -y group install buildsys-build Last metadata expiration check: 0:02:15 ago on Thu Oct 6 03:36:59 2016. Group 'Buildsystem building group' is already installed, skipping. Dependencies resolved. Nothing to do. Complete! # rpm -q gcc-c++ package gcc-c++ is not installed What version was supposed to fix this bug?
This patch was released only as released candidate of DNF-2.0 into rawhide. DNF-2.0 will be available only for fc26+ according to request for wide-change. DNF-2.0 can be tested on fc24+ from ours copr repository rpmsoftwaremanagement/dnf-nightly .
According to comment 9, There is new pull-request that should solve your problem: https://github.com/rpm-software-management/dnf/pull/640