Red Hat Bugzilla – Bug 550010
unable to install debuginfo packages using debuginfo-install
Last modified: 2014-01-21 18:13:23 EST
Description of problem:
debuginfo-install crashes with traceback
Version-Release number of selected component (if applicable):
debuginfo-install - 1.0 (yum - 3.2.25)
Steps to Reproduce:
1. run "debuginfo-install $package"
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__
File "/usr/bin/debuginfo-install", line 93, in main
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
File "/usr/share/yum-cli/cli.py", line 1036, in _promptWanted
txmbr.name not in self.extcmds:
AttributeError: 'DebugInfoInstall' object has no attribute 'extcmds'
did you really type:
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:
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
...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:
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.