Sample Header Ad - 728x90

How to corrupt rpmdb?

2 votes
1 answer
1831 views
Yes, You read it right i actually want to corrupt RPMDB for testing purpose. I tried Googling it but all i got was to, how to rebuild it. So at last i tried rpm --rebuilddb and killed the process in execution. Then i verified by usr/lib/rpm/rpmdb_verify /var/lib/rpm/Packages echo $? 0 I need it output 1. which means that RPMDB is corrupt
Asked by user3520135 (41 rep)
May 8, 2015, 10:39 AM
Last activity: Jan 15, 2024, 05:19 PM