Description of problem: yum groupinstall gives an elaborate syntax error when the group does not exist opposed to the "correct" error message a single package returns Version-Release number of selected component (if applicable): F9 RC How reproducible: just install a non-existent single package (which works okay) and a non-existent group (which gives the error syntax) # yum install stefan # yum groupinstall stefan Steps to Reproduce: 1. yum install stefan (single package) 2. yum groupinstall stefan (group) Actual results: Loaded plugins: refresh-packagekit Setting up Group Process 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: No package stefan available. Nothing to do Additional info: was tested on the release candidate of F9 dated may 2008
Thanks. This has been fixed in upstream yum due to other changes to the group handling code.