Forum

The time now is Tue Feb 09, 2010 7:21 pm

Become a registered member of the Mandriva community.It takes only 5 mns and it's free ... Learn more ...
MDV 2008: rpmdrake does not function

 
Post new topic   Reply to topic    Mandriva Forum Index -> x86-64 Software
View previous topic :: View next topic  
Author Message
PostPosted: Thu Oct 11, 2007 1:32 am    Post subject: MDV 2008: rpmdrake does not function Reply with quote

Hello --

running rpmdrake gives:

error: Runnning db->verify ...
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30975) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery

[same stuff over and over]

error: Runnning db->verify ...
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30975) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: Runnning db->verify ...
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30975) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: Runnning db->verify ...
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30975) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: Runnning db->verify ...
Segmentation fault

as a result I cannot add media, cannot update system, and cannot install any software from Software management in MCC.

What are my options? I would appreciate any help.

Mike.
mike_mike

Non Figura

Joined: 14 Sep 2003
Posts: 141

Back to top
View user's profile Send private message
PostPosted: Thu Oct 11, 2007 3:41 am    Post subject: Reply with quote

Are you on the 2008 Beta?

If so that could be the problem
EL DETONADOR IS BACK
BANNED
Non Figura

Joined: 05 Feb 2007
Posts: 965

Back to top
View user's profile Send private message
PostPosted: Fri Oct 12, 2007 5:07 am    Post subject: Reply with quote

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

should clear it.
_________________
Adam Williamson | http://www.happyassassin.net
Fedora QA community monkey
Mandriva contributor, former community manager
awilliamson
Site Admin
awilliamson

Joined: 30 Mar 2005
Posts: 25464
Location: Vancouver, B.C.

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Fri Oct 12, 2007 4:50 pm    Post subject: Reply with quote

Thank you, Adam --

Your suggestion worked. The problem disappeared completely. It probably started when I clicked "Cancel" while updating media.

Mike.
mike_mike

Non Figura

Joined: 14 Sep 2003
Posts: 141

Back to top
View user's profile Send private message
PostPosted: Tue Oct 16, 2007 8:15 pm    Post subject: Reply with quote

Hello

I also upgraded from 2007.0 to 2008 and the trick only works once. Then I have to do it everytime again....
abeverat

Non Figura

Joined: 04 Dec 2002
Posts: 108

Back to top
View user's profile Send private message
PostPosted: Tue Oct 16, 2007 9:13 pm    Post subject: Reply with quote

The problem keeps reoccurring every second time after rpm --rebuilddb. Seems like rpmdrake leaves the db in a faulty state
mike_mike

Non Figura

Joined: 14 Sep 2003
Posts: 141

Back to top
View user's profile Send private message
PostPosted: Tue Oct 16, 2007 9:20 pm    Post subject: Reply with quote

http://qa.mandriva.com/show_bug.cgi?id=32547
_________________
Adam Williamson | http://www.happyassassin.net
Fedora QA community monkey
Mandriva contributor, former community manager
awilliamson
Site Admin
awilliamson

Joined: 30 Mar 2005
Posts: 25464
Location: Vancouver, B.C.

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Thu Oct 18, 2007 4:39 pm    Post subject: Reply with quote

I tried to look on the bug report, but nothing works. I can nly install one rpm then I have to rebuild over again.

Will mandriva post a patch ? because I do nt want to re-install from scratch....
abeverat

Non Figura

Joined: 04 Dec 2002
Posts: 108

Back to top
View user's profile Send private message
PostPosted: Thu Oct 18, 2007 7:51 pm    Post subject: Reply with quote

well, we're trying. that's what the bug report is for. the problem is that we can't figure out precisely what causes it. it doesn't happen everywhere. if you can post the information about your situation on the report, it may help, and pixel may ask you to provide him with information to help diagnose the problem.
_________________
Adam Williamson | http://www.happyassassin.net
Fedora QA community monkey
Mandriva contributor, former community manager
awilliamson
Site Admin
awilliamson

Joined: 30 Mar 2005
Posts: 25464
Location: Vancouver, B.C.

Back to top
View user's profile Send private message Visit poster's website MSN Messenger
PostPosted: Tue Nov 13, 2007 11:55 pm    Post subject: Reply with quote

awilliamson wrote:
rm -f /var/lib/rpm/__db*
rpm --rebuilddb

should clear it.



my question is I have used this about 45 times since I found it. It works well, however my question is what keeps breaking the rpm database, if I ever lose the link to your post I will be screwed.....thanks jjim
jjim

Non Figura

Joined: 17 Jun 2002
Posts: 19

Back to top
View user's profile Send private message
PostPosted: Mon Nov 19, 2007 2:57 pm    Post subject: rpm database corruption x86-64 Reply with quote

Same prblem, have to rebuild rpm database after every installation or update.
swolff53 (SJFBJ0-130364-1

Non Figura

Joined: 28 Aug 2004
Posts: 1

Back to top
View user's profile Send private message
PostPosted: Tue Nov 20, 2007 2:26 pm    Post subject: Reply with quote

Hello,

I am experiencing the same problem and to carry out the verification of packages rpm with rpm -Va, i saw several cases of dependencies problem, I guess that the upgrade did not work at 100% or packages were downloaded from standalone sites. Seeing this, I began to remove these packages by little to prove, first remove postgresql and libcpq, who for some time was calling for a conflict of libraries at the time of upgrade. After remove the problem of corruption remained. However, when you remove xpdf-tools (when i try to update, throw an error about a conflict with poppler and the message say what can update other apps), I was able to do the upgrade without being corrupt the database at this time of the download 23 of 94 without problems.
If works fine or fails, i tell you.
Arturo_2712

Non Figura

Joined: 07 Nov 2006
Posts: 20

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mandriva Forum Index -> x86-64 Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group