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




-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to