[Mageia-dev] Broken database problem
Anne Wilson
annew at kde.org
Sun Apr 15 18:47:22 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 15/04/12 16:25, Manuel Hiebel wrote:
> 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.
Thanks. My search skills need polishing - I didn't find that one.
I removed the lock files, then tested for rpm - and it seems that I
must have destroyed that while trying to sort out the db problem.
Requesting a re-install brought up the need for 131 packages! Towards
the end, that failed, saying that certain packages were required. I
tried to install those, but seem to be stumbling on
sound-scripts-0.62-1.mga2.noarch.rpm which it says is missing.
Attempting to install sound-scripts separately asks whether I want to
use systemd-sysvinit or sysvinit-legacy. I've tried both, but both
fail due to missing sound-scripts.
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+K+5YACgkQj93fyh4cnBdBXACfYkr+jIaPkG0OIU33kJOVJIu2
rjoAnRPENNM2fIqrzmoOyLASLISCjBOz
=MxKh
-----END PGP SIGNATURE-----
More information about the Mageia-dev
mailing list