On Thu, 2006-06-08 at 13:36 -0400, Luke Macken wrote: > John (J5) Palmieri wrote: > > On Thu, 2006-06-08 at 19:17 +0200, Émeric Maschino wrote: > >> Hi, > >> > >> What's the correct way to manually uninstall a package that failed to > >> uninstall during an update? For example, during the update of > >> hal-cups-utils with today's Rawhide, I'm getting: > >> > >> Cleanup : hal-cups-utils ##################### > >> [224/257] > >> error: %postun(hal-cups-utils-0.5.5-2.ia64) scriptlet failed, exit > >> status 1 > >> > >> I now have hal-cups-utils-0.5.5-2 and hal-cups-utils-0.6.0-1 installed > >> on my system and would like to uninstall the old one. > >> > >> Thanks, > >> > >> Émeric > > > > rpm -e hal-cups-utils-0.5.5-2 > > This will still cause the %postun script to fail. Adding the --nopostun > option seems to do the trick. Perhaps a bug should also be filed against this package to get the scriptlet to "fail cleanly" and not break rpm transactions, which can result in duplicate packages being left etc. Paul. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list