Version-Release number of selected component (if applicable): yum-3.2.0-1.fc7 When trying to feed parameters to yum via xargs without -y (which is admittedly an user error) yum trace backs. cat pkglists.txt | xargs yum install Actual results: Is this ok [y/N]: Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 172, in main base.doTransaction() File "/usr/share/yum-cli/cli.py", line 296, in doTransaction if not self.userconfirm(): File "/usr/share/yum-cli/output.py", line 115, in userconfirm choice = raw_input('Is this ok [y/N]: ') EOFError: EOF when reading a line Expected results: Error message Additional info: Looks like there is some error handling code missing.
Fixed in CVS
yum-3.2.2-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
Yeah, this problem was fixed! With this fix the program gets exactly one line further: Is this ok [y/N]: Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 172, in main base.doTransaction() File "/usr/share/yum-cli/cli.py", line 299, in doTransaction if not self.userconfirm(): File "/usr/share/yum-cli/output.py", line 126, in userconfirm choice = choice.lower() AttributeError: 'list' object has no attribute 'lower' Please change the line 125: choice = [] to choice = ''
Thanks, pushed
yum-3.2.2-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.