Description of problem: debuginfo-install crashes with traceback Version-Release number of selected component (if applicable): debuginfo-install - 1.0 (yum - 3.2.25) yum-utils-1.1.24-2.fc12.noarch How reproducible: always Steps to Reproduce: 1. run "debuginfo-install $package" Actual results: debuginfo-install crashes after Transaction Summary is displayed. Traceback (most recent call last): File "/usr/bin/debuginfo-install", line 154, in <module> util = DebugInfoInstall() File "/usr/bin/debuginfo-install", line 48, in __init__ self.main() File "/usr/bin/debuginfo-install", line 93, in main sys.exit(self.doUtilTransaction()) File "/usr/share/yum-cli/utils.py", line 174, in doUtilTransaction return_code = self.doTransaction() File "/usr/share/yum-cli/cli.py", line 393, in doTransaction if self._promptWanted(): File "/usr/share/yum-cli/cli.py", line 1036, in _promptWanted txmbr.name not in self.extcmds: AttributeError: 'DebugInfoInstall' object has no attribute 'extcmds' Expected results: install debuginfo-packages Additional info:
did you really type: debuginfo-install $package or was there something else there b/c I can't replicate this at all.
With $package I meant that it doesn't matter which package I want to install debuginfo for. It happens for all packages I tried so far. In this particular case the command was: $ sudo debuginfo-install thunderbird I redirected the output (see attachment).
Created attachment 380024 [details] output of sudo debuginfo-install thunderbird
I don't have thunderbird installed, but if I do "debuginfo-install evolution" I get: Transaction Summary ================================================================================ Install 40 Package(s) Upgrade 0 Package(s) Total download size: 43 M Installed size: 225 M Is this ok [y/N]: Exiting on user Command Complete! ...the last two lines, only after hitting return.
I'm very confused. The output you attached looks like it succeeded. Where does the failure happen?
Sorry, for all the confusion. The attachment is indeed incomplete. I must have messed up the redirection. Right after the output in the attachment the reported traceback kicks in. I would expect the question "Is this ok [y/N]:" to be shown waiting for me to confirm the install or abort. If the command succeeded the output should also show "Complete!" as in comment #4.
Created attachment 380041 [details] complete output of "sudo debuginfo-install thunderbird" including traceback
okay, I've figured out where/ why this is happening. Are you able to apply a patch to test this? If so please apply: http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=1af3a46b6ae33b5683e5344a3da025f6fe5403a2 and let me know if it works. I think it will so in the meantime I'm closing this.
I applied the patch and debuginfo-install is installing the debuginfo packages, happily. Thank you!