RPM error "scriptlet failed, exit status 127"
Sometime while patching the server, we may get message to delete some patches which create conflict.
And while deleting those conflicting rpms we get error something like this:
E
[root@cloud home]# rpm -e --nodeps ILMT-TAD4D-agent.i386-cs-cam.noarch
/var/tmp/rpm-tmp.XIuSM4[137]: /var/itlm/utilities/cit/wcitinst: not found [No such file or directory]
error: %preun(ILMT-TAD4D-agent-7.5-1.i386) scriptlet failed, exit status 127
--nodeps Do not verify dependencies
Solution:
Delete the rpm using --noscripts option. The --noscripts option tells the rpm command not to run any uninstallation scripts
--noscripts = Do not execute verification script
[root@cloud home]# rpm -e --nodeps --noscripts ILMT-TAD4D-agent.i386
Regards,
Kalyanjit
No comments:
Post a Comment