corrupt the rpmdb intentionally
Any idea how to corrupt the rpmdb intentionally?
I have tried :
1. sudo rm /var/lib/rpm/__db.00X
2. sudo echo "XXXXX" >> /var/lib/rpm__db.00X
they don't work for me...
BTW, how to verify current rpmdb is fine?? can I just run "$ rpm -qa" , if $? is 0 , then it means it's good?
|