Re: Good uninstallation practice?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luke Macken <lmacken@xxxxxxxxxx> 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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux