Fedora Linux Support Community & Resources Center
  #1  
Old 23rd April 2012, 07:52 PM
JuhaniJaakola Offline
Registered User
 
Join Date: Mar 2009
Posts: 74
linuxfedorafirefox
yum and rpm get a db5 error

I upgraded from Fedora 16 to Fedora 17 using the DVD. After the upgrade I issued yum update for local files for rpm and yum packages which I had downloaded via yumdownloader. It updated yum and rpm to the latest packages. I wondered why it did not load the new repos from the servers?

After that yum and rpm do not work any more:

# yum update
error: db5 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db5 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
# rpm --rebuilddb
error: db5 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db5 - Invalid argument (22)

Any ideas?

---------- Post added at 09:52 PM ---------- Previous post was at 08:59 PM ----------

The usual way fixed this:

# cd /var/lib/rpm/
# mv __db.00* /tmp
# rpm --rebuilddb
Reply With Quote
Reply

Tags
db5, error, rpm, yum

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
Firestarter problems : Insufficent privileges + visudo error + Error reading /proc/ne fedora lover Using Fedora 5 2nd December 2009 03:02 AM
Error: DBus error org.freedesktop.DBus.Error.NoReply: -- F10 -- bluetooth kamil Using Fedora 4 12th April 2009 02:29 PM
madman error freshrpm error repository error! ilbh Using Fedora 5 1st June 2006 10:52 PM


Current GMT-time: 20:51 (Sunday, 21-12-2014)

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
...Cumbuco - CE Travel Photos on Instagram - ABC Studios Upper West Side