Regenerating an RPM database from installed packages

Check /var/adm/backup/rpmdb, you may have copy of Packages there …