Your Webhosting Questions
Answered by the Webhosting Experts

How to build your RPM database again?

Please refer the following steps:


[root@server1]# cd /var/lib/rpm/


[root@server1 rpm]# ll | grep db

-rw-r–r– 1 root root 2476 Sep 8 15:43 __db.001

-rw-r–r– 1 root root 13112 Sep 8 15:43 __db.002

-rw-r–r– 1 root root 45560 Sep 8 15:43 __db.003


[root@server 1rpm]# rm __db*

rm: remove regular file `__db.001′? y

rm: remove regular file `__db.002′? y

rm: remove regular file `__db.003′? y


[root@server rpm]# rpm –rebuilddb


This should build your RPM database again.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +