Description of problem:
'dnf install @group' returns error code 1 if all packages are already installed
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run 'dnf install @freeipa-server; echo $?'
2. Re-run 'dnf install @freeipa-server; echo $?'
Returns exit code "1"
Returns exit code "0" (success). This is what yum does in this situation and what DNF does if a package is specified rather than a group.
If *any* individual package is also on the command-line, the entire process will succeed. It appears only to happen if the whole command-line is made up of @group.
Whoops: this was dnf-1.0.0-1.fc22.noarch
Fixed in PR #305.
dnf-1.0.2-2.fc22,hawkey-0.5.9-2.fc22 has been submitted as an update for Fedora 22.
Package dnf-1.0.2-3.fc22, hawkey-0.5.9-3.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-1.0.2-3.fc22 hawkey-0.5.9-3.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-1.0.2-3.fc22, hawkey-0.5.9-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.