Bug 446309 - yum groupupdate crashes on unknown group
Summary: yum groupupdate crashes on unknown group
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-14 01:26 UTC by Mads Kiilerich
Modified: 2014-01-21 23:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-27 23:59:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mads Kiilerich 2008-05-14 01:26:30 UTC
Description of problem:
group_string typo in /usr/share/yum-cli/cli.py

Version-Release number of selected component (if applicable):
yum-3.2.14-10.fc9.noarch

How reproducible:


Steps to Reproduce:
1. yum groupupdate foo
  
Actual results:
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 241, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 116, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 311, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd,
self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 327, in doCommand
    return base.installGroups(extcmds)
  File "/usr/share/yum-cli/cli.py", line 859, in installGroups
    self.logger.error(_('Warning: Group %s does not exist.'), group_strng)
NameError: global name 'group_strng' is not defined


Expected results:
An error message that doesn't fail

Additional info:

Comment 1 James Antill 2008-05-14 04:48:43 UTC
 This is fixed upstream, and should be going out in a Fed-9 update this week.


Comment 2 Chris Jones 2008-05-15 11:40:03 UTC
Will this will also fix similar problems with groupinstall?

Comment 3 James Antill 2008-05-15 13:20:03 UTC
 Yeh, groupupdate and groupinstall are the same command.


Comment 4 Mads Kiilerich 2008-05-27 22:23:03 UTC
Confirmed fixed in yum-3.2.16-2.fc9.noarch.rpm found in koji. Waiting for it to
be pushed out.

Comment 5 John Poelstra 2008-06-27 23:59:33 UTC
already released. 

closing


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