[UNSOLVED] db4 error(-30974) while trying to update

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[UNSOLVED] db4 error(-30974) while trying to update

Postby mrigs » Mar 16th, '12, 05:09

Hi,

I am getting some errors while trying to run update on my Mageia 2 Beta 1 installation.

Code: Select all
[root@matrix mrigs]# urpmi --auto-update
medium "Core Updates" is up-to-date
medium "Core Backports" is up-to-date
medium "Nonfree Release" is up-to-date
medium "Nonfree Updates" is up-to-date
medium "Nonfree Backports" is up-to-date
medium "Tainted Release" is up-to-date
medium "Tainted Updates" is up-to-date
medium "Tainted Backports" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Core Updates (distrib31)" is up-to-date
error: rpmdb: Thread/process 14154/3073590976 failed: Thread died in Berkeley DB library
error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db4 -  (-30974)
error: cannot open Packages database in /var/lib/rpm
unable to open rpmdb


Here is how I tried to troubleshoot -

[*]Tried to change the update mirrors - hit upon the "unable to open rpmdb" error.
[*]Searched the mageia forum with "db4 error(-30974)" - no earlier posts found.

Any pointers to solving the issue?

** Edit: Currently marking as [unfixed]. Seems to be related to https://forums.mageia.org/en/viewtopic.php?f=15&t=2063

-regards,
Last edited by mrigs on Mar 16th, '12, 17:05, edited 2 times in total.
mrigs
Mageia on LG Gram 15
mrigs
 
Posts: 40
Joined: Jun 28th, '11, 03:25
Location: California, US

Re: db4 error(-30974) while trying to update

Postby mrigs » Mar 16th, '12, 05:16

I found this posted as a solution in a few places -

Code: Select all
rpmdb --rebuilddb


And it solved my problem too. I was able to run the update. Hope this is helpful for any that encounter the issue. Marking the post as solved.

-regards,
mrigs
Mageia on LG Gram 15
mrigs
 
Posts: 40
Joined: Jun 28th, '11, 03:25
Location: California, US

Re: [SOLVED] db4 error(-30974) while trying to update

Postby doktor5000 » Mar 16th, '12, 13:56

mrigs wrote:[*]Searched the mageia forum with "db4 error(-30974)" - no earlier posts found.

"db4 error" would have been enough to find the relevant thread: viewtopic.php?f=15&t=2063
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] db4 error(-30974) while trying to update

Postby mrigs » Mar 16th, '12, 17:03

Yes. I can see that it's an unresolved issue also being tracked with a bug. The problem seems to have resurfaced for me too, today morning (PST). I'll remove the [SOLVED] tag.
mrigs
Mageia on LG Gram 15
mrigs
 
Posts: 40
Joined: Jun 28th, '11, 03:25
Location: California, US

Re: [unfixed] db4 error(-30974) while trying to update

Postby wobo » Mar 16th, '12, 19:33

Please show the output of
rpm -qa | grep rpmdrake

rpmdrake should have version 5.30-2.mga2 - with this version the problem was fixed here.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: [unfixed] db4 error(-30974) while trying to update

Postby mrigs » Mar 17th, '12, 04:39

Yup, I get rpmdrake-5.30-2.mga2.
mrigs
Mageia on LG Gram 15
mrigs
 
Posts: 40
Joined: Jun 28th, '11, 03:25
Location: California, US


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest