RPM unable to uninstall RPM’s: scriptlet failed, exit status 1
What to do with scriptlet failed, exit status 1 that can pop up uninstalling some RPM's.
PROBLEM
$ rpm -e avahi-0.6.17-1.fc7.i386
error: %postun(avahi-0.6.17-1.fc7.i386) scriptlet failed, exit status 1
$ rpm -e openmpi-libs-1.1-8.fc7.i386
error: %preun(openmpi-libs-1.1-8.fc7.i386) scriptlet failed, exit status 2
SOLUTION
Add the –noscripts option to the command:
$ rpm -e –noscripts avahi-0.6.17-1.fc7
$
$ rpm -e –noscripts openmpi-libs-1.1-8.fc7.i386
$