Bug 1223614 - dnf groupinstall fails and returns success
dnf groupinstall fails and returns success
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: dnf (Show other bugs)
22
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Michal Luscon
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-20 23:19 EDT by Zbigniew Jędrzejewski-Szmek
Modified: 2015-06-20 20:16 EDT (History)
7 users (show)

See Also:
Fixed In Version: dnf-1.0.1-2.fc22
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-06-20 20:16:26 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Zbigniew Jędrzejewski-Szmek 2015-05-20 23:19:16 EDT
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
Complete!
[test@f22-uefi systemd]$ echo $?
0

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):
dnf-1.0.0-1.fc22.noarch
Comment 1 Parag Nemade 2015-05-20 23:24:26 EDT
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 03:41:35 EDT
Thank you for your report. I will take a look.
Comment 3 Fedora Update System 2015-06-12 05:05:45 EDT
dnf-1.0.1-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/dnf-1.0.1-2.fc22
Comment 4 Fedora Update System 2015-06-14 13:33:40 EDT
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:
https://admin.fedoraproject.org/updates/FEDORA-2015-10004/dnf-1.0.1-2.fc22
then log in and leave karma (feedback).
Comment 5 Fedora Update System 2015-06-20 20:16:26 EDT
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.