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 triedrpm --rebuilddband killed the process in execution.Then i verified byusr/lib/rpm/rpmdb_verify /var/lib/rpm/Packagesecho $?0I need it output 1. which means that RPMDB is corrupt
How to corrupt rpmdb?
linux;rhel;rpm;rpmbuild