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

  • Recent Comments

    • krusna: the file SUNWrge.tar.gz is not found on that URL....
    • Gugi: The file SUNWrge.tar.gz is not found on the url you gave abo...
    • Robert: how can i take a slot in your blog-rolls? here's mind htt...
    • rachel Perez: that's mine, mine, mine, mine... hehe.. thanks po......
    • Malyn Torne: gada voice nya at ang humble nya para sa mga tao..keep up th...

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