Bug 1223614 - dnf groupinstall fails and returns success
Summary: dnf groupinstall fails and returns success
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Michal Luscon
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-05-21 03:19 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2015-06-21 00:16 UTC (History)
7 users (show)

Fixed In Version: dnf-1.0.1-2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-06-21 00:16:26 UTC
Type: Bug

Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2015-05-21 03:19:16 UTC
Description of problem:
$ sudo dnf groupinstall "C Devel"
Last metadata expiration check performed 1:51:41 ago on Wed May 20 21:23:20 2015.
Warning: Group 'C Devel' does not exist.
Dependencies resolved.
Is this ok [y/N]: y
[test@f22-uefi systemd]$ echo $?

Maybe there's some justification that I'm not seeing, but interactively asking whether to treat failure as success is rather strange. When I said 'y' I expected dnf to propose matching groups or something.

Version-Release number of selected component (if applicable):

Comment 1 Parag Nemade 2015-05-21 03:24:26 UTC
To add here, I have another query here why groupinstall command attempt to resolve dependencies if the given group name is not available for installation?

Comment 2 Michal Luscon 2015-05-21 07:41:35 UTC
Thank you for your report. I will take a look.

Comment 3 Fedora Update System 2015-06-12 09:05:45 UTC
dnf-1.0.1-2.fc22 has been submitted as an update for Fedora 22.

Comment 4 Fedora Update System 2015-06-14 17:33:40 UTC
Package dnf-1.0.1-2.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.1-2.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-06-21 00:16:26 UTC
dnf-1.0.1-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.