Uninstallation failure during update on F19

Andre Robatino robatino at fedoraproject.org
Fri Aug 30 05:02:17 UTC 2013


Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:

> While updating my system today, I came across this issue:
> 
> Running transaction
> /var/tmp/rpm-tmp.ARyh47: line 1: fg: no job control
> error: %preun(nscd-2.17-13.fc19.x86_64) scriptlet failed, exit status 1
> Error in PREUN scriptlet in rpm package nscd-2.17-13.fc19.x86_64
>   Verifying  : nscd-2.17-13.fc19.x86_64
> 
> Failed:
>   nscd.x86_64 0:2.17-13.fc19
> 
> Now I have two versions of nscd installed:
> 
> $ rpm -q nscd
> nscd-2.17-13.fc19.x86_64
> nscd-2.17-14.fc19.x86_64
> 
> How can I remedy this?  Thanks for any help.

rpm -e --nopreun nscd-2.17-13.fc19.x86_64

The rpm command also has --nopre, --nopost and --nopostun options (see the
man page). Afterwards, I reinstall the one remaining version to give all the
scripts a chance to run:

yum reinstall nscd






More information about the users mailing list