Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 3rd July 2011, 04:53 PM
tmort Offline
Registered User
 
Join Date: Feb 2006
Posts: 284
linuxchrome
cannot open Packages index using db4 - (-30974)

I'm trying to run yum update on my f15 system and I get an error saying to rebuild db. I've tried some soltions from forums but haven't had any success.

Below is a terminal session showing the output from the original error along with the things I have tried:


[root@localhost ~]# yum update
error: db4 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db4 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
[root@localhost ~]# ps axfu | grep -e rpm -e yum # make sure there are no rpm/yum sessions running
root 13042 0.0 0.0 4432 760 pts/0 S+ 01:23 0:00 | \_ grep --color=auto -e rpm -e yum
[root@localhost ~]# rm /var/lib/rpm/__db.00
rm: cannot remove `/var/lib/rpm/__db.00': No such file or directory
[root@localhost ~]# rpm --rebuilddb
error: db4 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db4 - (-30974)
Reply With Quote
 

Tags
db4, index, open, packages

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm --initdb error: cannot open Packages index using db3 powah Using Fedora 2 23rd April 2008 02:14 PM
db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version lk95jofr Installation and Live Media 4 31st July 2006 10:32 AM
Cannot index packages with yum Uladzimir Using Fedora 0 11th September 2005 08:36 PM


Current GMT-time: 02:52 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat