[Mageia-dev] Broken database problem

Anne Wilson annew at kde.org
Sun Apr 15 15:16:23 CEST 2012


-----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
- -- 
Need KDE help? Try
http://userbase.kde.org or
http://forum.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+Kyh4ACgkQj93fyh4cnBc1MgCdFJUsZtjSO96fGyEvb0yX5Grn
rqAAn3CYqFikLXOeWVL95xGtBS4SCapo
=A0Io
-----END PGP SIGNATURE-----


More information about the Mageia-dev mailing list