Sometime ago I managed to erase the /var/lib/rpm folder which basically contains information about all the rpms in the System
The problem posed is that I cannot query nor Upgrade using the yum
I did the steps mentioned like rpm --rebuild and ll that but it did not help
Its my pure curiosity to know of a method by which we can restore the database of the installed rpm's
I say curiosity, because the server runs fine without it also !!!
Hope no one does this anytime ... I lost many days sleep for this
Thanks in advance for reading this post and thinking of a solution