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




  • Recent Comments

    • Boy Dapa: Handami! he he he. Ako, sana makapag-blog na ulit :D...
    • Boy Dapa: Ang libog ni Boy Popoy pumalo!...
    • Penoi: yung engagement cyempre.. hehehehe..love you too po......
    • rachel: alin ang wish came tru? ung engagement or ung PSP wahaha... ...
    • marhgil: nakakabulahaw kayo! Rock en roll! :)...

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