Red Hat Bugzilla – Bug 446309
yum groupupdate crashes on unknown group
Last modified: 2014-01-21 18:02:34 EST
Description of problem:
group_string typo in /usr/share/yum-cli/cli.py
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum groupupdate foo
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
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,
File "/usr/share/yum-cli/yumcommands.py", line 327, in doCommand
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
An error message that doesn't fail
This is fixed upstream, and should be going out in a Fed-9 update this week.
Will this will also fix similar problems with groupinstall?
Yeh, groupupdate and groupinstall are the same command.
Confirmed fixed in yum-3.2.16-2.fc9.noarch.rpm found in koji. Waiting for it to
be pushed out.