Mandriva rpmdb unable to allocate memory error fix

I’m sharing to you the error I’ve encountered while setting up Linux Mandriva 2011’s package manager.
Problem:
rpmdb: unable to allocate memory for mutex; resize mutex region
error: db_init:db3.c:1009: dbenv->open(12): Cannot allocate memory
error: cannot open Packages(0) index: Cannot allocate memory(12)
DB: Berkeley DB 5.1.25: (January 28, 2011)
error: cannot open Packages database in /var/lib/rpm
Fix:
shell# db51_recover -vh /var/lib/rpm
Run urpm* or drakrpm and the problem should have gone away.
Spread the word
del.icio.us Digg Furl Google StumbleUpon Technorati Windows Live Yahoo! Help











Leave a Comment