Getting rid of a package that will not remove properly

seth vidal skvidal at phy.duke.edu
Fri Nov 11 13:29:54 UTC 2005


On Fri, 2005-11-11 at 08:38 +0000, Mary Ellen Foster wrote:
> On 11/11/05, Dwaine Garden <DwaineGarden at rogers.com> wrote:
> > I'm trying to get rid of a rpm package and rpm or yum will not remove
> > it.   It's an older package that
> > for some reason is on my system.  Can't update the recent rawhide
> > updates..  8*(
> 
> [ ... ]
> > Running Transaction
> >   Removing  : swfdec                       ######################### [1/1]
> > error: %postun(swfdec-0.3.1-1.1.fc2.fr.i386) scriptlet failed, exit status 1
> 
> Try "rpm -e --noscripts swfdec". You can't do the equivalent with yum,
> as far as I know.
> 


in your yum.conf under [main] add:
tsflags=noscripts

then run the command

just remember to remove it afterward.
-sv





More information about the fedora-test-list mailing list