Bug 1018494 - yum install @NOSUCHGROUP does not give an error
Summary: yum install @NOSUCHGROUP does not give an error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-12 16:11 UTC by Richard W.M. Jones
Modified: 2014-05-28 02:53 UTC (History)
7 users (show)

Fixed In Version: yum-3.4.3-137.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-03 09:32:24 UTC
Type: Bug


Attachments (Terms of Use)

Description Richard W.M. Jones 2013-10-12 16:11:02 UTC
Description of problem:

$ sudo yum install @NOSUCHGROUP
Loaded plugins: auto-update-debuginfo, langpacks
Nothing to do
$ echo $?
0

But if you try that with an ordinary package:

$ sudo yum install NOSUCHPACKAGE
Loaded plugins: auto-update-debuginfo, langpacks
No package NOSUCHPACKAGE available.
Error: Nothing to do
$ echo $?
1

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

yum-3.4.3-106.fc19.noarch

How reproducible:

100%

Steps to Reproduce:
1. See above.

Expected results:

Yum should give an error (and MORE IMPORTANTLY return a
non-zero exit code) if the group does not exist.

Comment 1 Fedora Update System 2014-02-13 11:51:17 UTC
yum-3.4.3-135.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-135.fc20

Comment 2 Fedora Update System 2014-02-13 12:09:59 UTC
yum-3.4.3-135.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/yum-3.4.3-135.fc19

Comment 3 lnie 2014-02-14 06:01:36 UTC
yum-3.4.3-135.fc20 works

Comment 4 Fedora Update System 2014-02-28 18:29:56 UTC
yum-3.4.3-137.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2014-05-28 02:53:03 UTC
yum-3.4.3-137.fc19 has been pushed to the Fedora 19 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.