[Mageia-dev] Broken database problem

Manuel Hiebel manuel at hiebel.eu
Sun Apr 15 17:25:40 CEST 2012


Le 15/04/2012 15:16, Anne Wilson a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Cauldron on Acer Aspire One 533
>
> I tested a Cauldron install (beta 2 download) on VirtualBox and found
> no serious problems, so started yesterday to prepare my netbook for my
> holiday.
>
> It took 5 hours to install - using a USB DVD drive.  Once Coling had
> helped me find an error that I had made during the install, everything
> appeared to be fine, and today I started preparing for the big update.
>   rpm updated, then I got
>
> db4 error (-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error,
> run database recovery
>
> Rebuilding the database also failed so I followed advice to remove
> /var/lib/rpm/_* and tried again to rebuild.  Then
>
> from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
>
> Googling, I found several references, but all of them quite old, which
> made me nervous of trying the suggested solution.  However, I did try,
> since I have nothing to lose at this point, "export
> LD_ASSUME_KERNEL=3.3.0" - which made no difference whatsoever.
>
> After a reboot I tried update once again and was offered two packages
> for updating - but then was told that it couldn't open the database.
>
> In desperation I tried "rm -fR /var/lib/rpm/*" - I hope I haven't
> broken anything too drastic, but nothing seems to have changed.  The
> database will still not rebuild.
>
> If I try to update I get a message that the list is updating - but
> only one list, presumably the core list - then I'm told that the list
> of updates is empty.
>
> How can I get this working again?
>
> Anne
> - -- 
https://bugs.mageia.org/show_bug.cgi?id=4918#c88
and check that you have only one "rpm" package.


More information about the Mageia-dev mailing list