Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fedora 8 yum error



> On Wed, 2008-11-19 at 07:20 -0500, David Kramer wrote:
>> [root at janus pluginconf.d]# yum info poster
>> Loaded plugins: fedorakmod, kernel-module, kmdl, priorities
>> rpmdb: PANIC: fatal region error detected; run recovery
>> error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error,
>> run database recovery
>> error: cannot open Packages index using db3 -  (-30977)
>> error: cannot open Packages database in /var/lib/rpm
...

> Bleah! I see mis-matched db3 and db4 calls mentioned there... You didn't
> upgrade rpm to the Fedora 10 version, did you? Historically, rpm has

No.  As I said, this box is still F8. But I see that I have db4.
# rpm -qa | egrep 'db[0-9]+-'
db4-4.6.21-2.fc8
db4-cxx-4.6.21-2.fc8
db4-devel-4.6.21-2.fc8

rpm -qa | egrep 'f[c]*10'
returns no results.

> used its own internal copy of berkeleydb, which I believe was db3, but
> in F10, its switching to the system-provided db4.x.
>
>> So what do I do about this?
>
> Hopefully, this should do the trick:
>
> 1) rm -f /var/lib/rpm/__db.*
> 2) rpmdb --rebuilddb

That worked.  Thanks.







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org