Description of problem:
Loaded plugins: refresh-packagekit
Setting up Update Process
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 178, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 352, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 201, in doCommand
File "/usr/share/yum-cli/cli.py", line 608, in updatePkgs
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 2829, in update
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 2965, in update
updated_pkg = self.rpmdb.searchPkgTuple(updated)
IndexError: list index out of range
Version-Release number of selected component (if applicable):
Does this continue to happen, or was it a one off?
What does: "rpm -Va --nofiles --nodigest" say?
If it still happens and nothing is printed for the above, would it be possible for you to alter /usr/lib/python2.6/site-packages/yum/__init__.py and put a:
print "DBG:", updated
...at line 2964 (Ie. just before the rpmdb.searchPkgTuple() call) and then run yum with -d 8 and attach the result?
I could reproduce it on my F11 system with
yum update --enablerepo=rawhide
but the system has been updated to F12/rawhide now and the problem probably can't be reproduced.
On an other F11 system I also can't reproduce it.
Sorry; if the stacktrace doesn't say enough you may close as WORKSFORME.
But perhaps the situation of an empty list from searchPkgTuple could be handled better - either by not crashing on it or by logging the information you ask for.
*** This bug has been marked as a duplicate of bug 522259 ***