How to do a rpm database recovery.

Manuel Arostegui Ramirez manuel at todo-linux.com
Sun Feb 4 22:10:51 UTC 2007


El Domingo, 4 de Febrero de 2007 23:08, Erik Grootjans escribió:
> Yum dit install updates.
> But the next day, i was notified off exact the same amound of updates.
> I looked carefully when updating;
>
> After downloading when there is a bar with configuring packages;
> the bar disapeered and no messages completed installating packages came
> up.
>
> So i tryed to do it with updating packages - the same
> I tryed in a terminal window with rpm - i get:
>
> PANIC fatal region error detected; run recovery
> error: db4 error (-30977) from dbenv -> open: DB_RUNRECOVERY;
> Fatal error, run database recovery
> Cannot open Packages database in /usr/lib/rpm.
>
> Question: How do i run a rpm-database recovery ???
>
> Thanks very much
>
> Erik

Try this:
rm -rf /var/lib/rpm/__db*

And after that, try to update your packages as usual
-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.




More information about the fedora-list mailing list