rm -rf /var/lib/rpm/__db*
rpm –rebuilddb
rpmdb_verify Packages
OR:
cp -v Packages Packages-BAKUP
db_dump Packages-BAKUP | db_load Packages
rpm -qa
rpm –rebuilddb
rm -rf /var/lib/rpm/__db*
rpm –rebuilddb
rpmdb_verify Packages
OR:
cp -v Packages Packages-BAKUP
db_dump Packages-BAKUP | db_load Packages
rpm -qa
rpm –rebuilddb