Header Shadow Image


RPM unable to uninstall RPM’s: scriptlet failed, exit status 1

http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/reddit_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/dzone_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/stumbleupon_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/delicious_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/furl_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/newsvine_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/technorati_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/google_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/myspace_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/facebook_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/yahoobuzz_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/sphinn_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/mixx_24.png http://www.microdevsys.com/WordPress/wp-content/plugins/sociofluid/images/twitter_24.png

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
$

One Response to “RPM unable to uninstall RPM’s: scriptlet failed, exit status 1”

  1. [...] that in fact we did have duplicates then following some advice here I was able to remove the fc9 package and rerun the updated step 13 above.  This yielded some [...]

Leave a Reply


     
  ? ? ? ? ?  
  Copyright © 2003 - 2008 Tom Kacperski. All rights reserved.  

Technorati Key: JDKEMU44HHYG