Good uninstallation practice?

Horst von Brand vonbrand at inf.utfsm.cl
Thu Jun 8 21:29:15 UTC 2006


Luke Macken <lmacken at redhat.com> 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.

Just to make sure, I'd get and force-feed the new package to rpm, in case
the uninstallation damaged something (== deleted some files from the new
version).
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513




More information about the fedora-devel-list mailing list