I can't remove rpm package

Hello!,

I can't remove a rpm package with

rpm -e net-snmp

Nothing happened, and the process returns D status when i see with

ps aux | grep rpm

. When i say "Nothing Happened", the terminal don't return any message, and not remove the package.

What can I do to remove?

Ps: I work with Red Hat 9 shrike

What does rpm -qi <package> return? The RPM database may be corrupt - you can run an rpm --rebuilddb to rebuild the RPM database, but read the documentation and understand the implications before doing so. It could also be that the pre-removal scripts are failing - try an rpm -e --force <package> to force the removal.