Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-11-2009, 12:48 PM   #1
Registered: Mar 2009
Distribution: Fedora
Posts: 41

Rep: Reputation: 15
Yum Problems

I am using Fedora 10 and have just updated my system. Every time I try and install something I get the following error:

yum install test

Loaded plugins: protectbase, refresh-packagekit
rpmdb: Thread/process 3377/3087496896 failed: Thread died in Berkeley DB library
error: db4 error(-30975) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30975)
error: cannot open Packages database in /var/lib/rpm
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/", line 229, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/", line 84, in main
  File "/usr/share/yum-cli/", line 184, in getOptionsConfig
  File "/usr/lib/python2.5/site-packages/yum/", line 192, in _getConfig
    self._conf = config.readMainConfig(startupconf)
  File "/usr/lib/python2.5/site-packages/yum/", line 774, in readMainConfig
    yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.5/site-packages/yum/", line 844, in _getsysver
    idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
It's really annoying - does anyone know what might have caused it to happen?
Old 03-11-2009, 12:53 PM   #2
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
..should do the trick.

Last edited by Maligree; 03-11-2009 at 12:57 PM. Reason: I got confused.
Old 03-11-2009, 02:51 PM   #3
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
The Fedora 10 default installation has a problematic yum setup. Try to update yum by some other means (another package updater or by downloading the newer yum package). It should work afterwards.

Arch Linux

Last edited by T74marcell; 03-14-2009 at 01:10 AM.
Old 03-12-2009, 01:53 PM   #4
Registered: Mar 2009
Distribution: Fedora
Posts: 41

Original Poster
Rep: Reputation: 15
Originally Posted by Maligree View Post
..should do the trick.
That seems to have done it! Thanks


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 problems alexm21 Linux - Newbie 1 11-04-2008 11:31 PM
Yum problems linuxdummy Fedora 11 01-24-2008 02:36 AM
yum problems ackerleytng Linux - Software 2 11-06-2005 07:13 PM
problems with yum realcr Linux - Software 3 09-01-2005 03:31 PM
problems with yum maybbach Linux - Software 5 10-19-2004 05:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:53 AM.

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