LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-17-2010, 10:41 AM   #1
pattbert
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Rep: Reputation: 0
yum update results in python IndexError


Hello.

I haven't been able to update my system as of late, because yum keeps giving me the same error, everytime I try to run updates/install packages.

Code:
Running Transaction
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 254, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 192, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 496, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1182, in runTransaction
    self.rpmdb.transactionResultVersion(self.tsInfo.futureRpmDBVersion())
  File "/usr/lib/python2.6/site-packages/yum/transactioninfo.py", line 580, in futureRpmDBVersion
    self.rpmdb.preloadPackageChecksums()
  File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 749, in preloadPackageChecksums
    pkg = self.searchNevra(n, e, v, r, a)[0]
IndexError: list index out of range
Running it with -v did not provide any other information regarding this problem. I tried running yum -clean all as well as package-cleanup --dupes and other various forms and rpm -Va --nodeps --nofiledigest but didn't get any output.

I have no idea where to work on that error, so I appreciate any help given.
 
Old 06-17-2010, 12:54 PM   #2
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
It is important to know what was the last thing you did before this error occurred. Have you installed/updated anything recently? Look in /var/log/yum.log.

Try "yum reinstall yum".
 
Old 06-17-2010, 01:06 PM   #3
pattbert
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
The last thing I did was an update of my whole system on May 25. The only new things that were installed were a new kernel and mplayer-common.

reinstall yum gives me the same error.
 
Old 06-17-2010, 04:03 PM   #4
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
I forgot to ask what version you are running now. Please also give us the current kernel number ( "uname -r"), and the output of the "rpm -qa yum python yum-*".

And please can you try running with the older kernel? You can choose it on the boot menu.

Also what comes to mind is to run yum without any plugins: "yum update --disableplugin=*"

If you were able to install yum-utils package, I would suggest runing "yum-complete-transaction" command.
 
Old 06-18-2010, 09:14 AM   #5
pattbert
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
I'm currently running kernel 2.6.32.12-115.fc12.i686.PAE.

Output of rpm -qa yum python yum-*:
Code:
yum-3.2.27-3.fc12.noarch
yum-metadata-parser-1.1.2-14.fc12.i686
python-2.6.2-4.fc12.i686
yum-utils-1.1.26-1.fc12.noarch
Trying to update on two different older kernels still didn't fix the issue and yum-complete-transaction tells me that there are no unfinished transactions.

Thank you for your help so far.
 
Old 06-19-2010, 05:51 AM   #6
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Please join Yum mail list (yum@lists.baseurl.org) and present your problem there. I was hopping that someone will jump in, but the best thing is to ask on the yum mailing list, with all the info posted here.
 
Old 06-24-2010, 01:41 PM   #7
pattbert
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Updating my system to F13 with preupgrade has fixed the problem. I still have no idea what exactly was going on, but apparently I couldn't even install packages manually with rpm. But now everything's fine again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum on whitebox3 gives IndexError ElectroLinux Linux - Newbie 3 10-25-2009 06:50 PM
RHEL 5.1 i386 Yum update all results in disaster wernox Red Hat 5 05-12-2009 08:33 AM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 03:44 AM
Yum won't update Python Zeno McDohl Linux - Newbie 7 09-11-2008 03:04 PM
yum update dbus results in file conflict dvlierop Fedora 2 11-13-2005 03:21 AM


All times are GMT -5. The time now is 10:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration