Problem with rpmdb

Posted on May 2, 2008

Problem

rpm -qa | grep <package>
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm

Solution:

Remove the existing db

#cd /var/lib/rpm
#rm -rf __db.*

Rebuild the db

#rpm --initdb
#rpm --rebuilddb

» Filed Under Linux/Nix

Comments

One Response to “Problem with rpmdb”

  1. ian on May 2nd, 2008 8:59 am

    i add your link also. thanks for the add. have a nice day.

Leave a Reply




*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image


Directory of Personal Blogs
Technology Blogs - BlogCatalog Blog Directory Personal - Top Blogs Philippines