Good uninstallation practice?
Luke Macken
lmacken at redhat.com
Thu Jun 8 17:36:15 UTC 2006
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.
luke
More information about the devel
mailing list